Make hints/gnu.sh append to $ccflags rather than overriding them
authorSamuel Thibault <sthibault@debian.org>
Wed, 4 Aug 2010 10:34:05 +0000 (13:34 +0300)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 5 Jun 2011 20:58:15 +0000 (13:58 -0700)
Bug-Debian: http://bugs.debian.org/587901

Don't override possible extra $ccflags values given to Configure
on GNU/Hurd.

hints/gnu.sh

index 2cfce54..c1ba2db 100644 (file)
@@ -19,7 +19,7 @@ lddlflags='-shared'
 ccdlflags='-Wl,-E'
 
 # Debian bug #258618
-ccflags='-D_GNU_SOURCE'
+ccflags="-D_GNU_SOURCE $ccflags"
 
 # The following routines are only available as stubs in GNU libc.
 # XXX remove this once metaconf detects the GNU libc stubs.