Zdenek Prikryl 52de11
--- acpid-1.0.6/Makefile.makefile	2007-06-30 21:15:45.000000000 +0200
Zdenek Prikryl 52de11
+++ acpid-1.0.6/Makefile	2008-02-13 18:05:37.000000000 +0100
Zdenek Prikryl 52de11
@@ -21,8 +21,9 @@ acpi_listen_OBJS = $(acpi_listen_SRCS:.c
Phil Knirsch 204db7
 MAN8 = acpid.8 acpi_listen.8
Phil Knirsch 204db7
 MAN8GZ = $(MAN8:.8=.8.gz)
Phil Knirsch 204db7
 
Zdenek Prikryl e7f517
-CFLAGS = -Wall -Werror -g $(DEFS)
Zdenek Prikryl 52de11
-DEFS = -DVERSION="\"$(VERSION)\""
Phil Knirsch 204db7
+CFLAGS = -Wall -Werror -g $(DEFS) $(RPM_OPT_FLAGS) -fPIE
Phil Knirsch 204db7
+LDFLAGS = -pie -Wl,-z,relro
Zdenek Prikryl 52de11
+DEFS = -DVERSION="\"$(VERSION)\"" -D_GNU_SOURCE
Phil Knirsch 204db7
 
Phil Knirsch 204db7
 all: $(PROGS)
Zdenek Prikryl 52de11