Add "-D_GNU_SOURCE" unconditionally to the list of CCFLAGS, needed to build on kfreebsd.
[sven/exfat-utils.git] / debian / rules
1 #!/usr/bin/make -f
2
3 # Uncomment this to turn on verbose mode.
4 #export DH_VERBOSE=1
5 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
6 export CCFLAGS = $(CFLAGS) -Wall -std=c99 -D_GNU_SOURCE
7
8 %:
9         dh $@
10
11 override_dh_auto_build:
12         scons
13
14 override_dh_auto_clean:
15         scons -c
16         rm -f config.log