chiark / gitweb /
allow RUN to send the environment to a local socket
[elogind.git] / Makefile
index 881ef85ad60000a883f82cc5896f8ac6aa07e1b0..c9807de4bc2e61f57924b52e8d574efebf14814c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -41,7 +41,7 @@ EXTRAS=
 # make the build silent. Set this to something else to make it noisy again.
 V=false
 
-VERSION =      063
+VERSION =      064
 ROOT =         udev
 DAEMON =       udevd
 SENDER =       udevsend
@@ -105,11 +105,11 @@ GCC_LIB := $(shell $(CC) -print-libgcc-file-name )
 # check if compiler option is supported
 cc-supports = ${shell if $(CC) ${1} -S -o /dev/null -xc /dev/null > /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi;}
 
-CFLAGS         += -Wall -fno-builtin -Wchar-subscripts -Wpointer-arith -Wstrict-prototypes -Wsign-compare
-CFLAGS         += $(call cc-supports, -Wno-pointer-sign, )
+CFLAGS         += -Wall -fno-builtin -Wchar-subscripts -Wpointer-arith \
+                  -Wstrict-prototypes -Wsign-compare
 CFLAGS         += $(call cc-supports, -Wdeclaration-after-statement, )
 CFLAGS         += -pipe
-CFLAGS         += -D_GNU_SOURCE
+CFLAGS         += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
 
 # use '-Os' optimization if available, else use -O2
 OPTFLAGS := $(call cc-supports, -Os, -O2)