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)
committerRicardo Signes <rjbs@cpan.org>
Thu, 9 Aug 2012 20:04:10 +0000 (16:04 -0400)
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.