From: Sven Hoexter Date: Sun, 31 Aug 2014 14:44:17 +0000 (+0200) Subject: Add "-D_GNU_SOURCE" unconditionally to the list of CCFLAGS, needed to build on kfreebsd. X-Git-Tag: debian/1.1.0-2~2 X-Git-Url: http://git.sven.stormbind.net/?p=sven%2Fexfat-utils.git;a=commitdiff_plain;h=7b267d7abe43ff69be3fa94754293e3b1881e319;ds=sidebyside Add "-D_GNU_SOURCE" unconditionally to the list of CCFLAGS, needed to build on kfreebsd. --- diff --git a/debian/changelog b/debian/changelog index 8b5ca89..4416f28 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,8 @@ exfat-utils (1.1.0-2) unstable; urgency=low * Extent debian/copyright up to 2014. * Update debian/copyright license statement - with 1.1.0 upstream relicensed from GPLv3 to GPLv2 or later. + * Add "-D_GNU_SOURCE" unconditionally to the list of CCFLAGS, needed + to build on kfreebsd. -- Sven Hoexter Tue, 26 Aug 2014 08:31:26 +0200 diff --git a/debian/rules b/debian/rules index 0c77679..9f7d91a 100755 --- a/debian/rules +++ b/debian/rules @@ -1,11 +1,9 @@ #!/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) -Wall -std=c99 +export CCFLAGS = $(CFLAGS) -Wall -std=c99 -D_GNU_SOURCE %: dh $@