Add "-D_GNU_SOURCE" unconditionally to the list of CCFLAGS, needed to build on kfreebsd.
[sven/exfat-utils.git] / debian / rules
index 9af1dc37e9a7bf32392c9d89605f345905ebdc40..9f7d91a353fc3c6045112df2df7eda5b7fdec914 100755 (executable)
@@ -1,15 +1,12 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
-
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-
-export CCFLAGS=${CFLAGS}
+export CCFLAGS = $(CFLAGS) -Wall -std=c99 -D_GNU_SOURCE
 
 %:
-       dh $@ --with quilt
+       dh $@
 
 override_dh_auto_build:
        scons