X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=hints%2Fgnu.sh;h=2cfce541083ea0494e45a1fdfb9c82eaf14bc01b;hb=903fe02ab005d9a6f5d2870ed93bddff5a74bffb;hp=927bceab9df1119ba1907e1f2b5b5452a3f5bc62;hpb=c8c809adbd743c4b7fd61ded5e6ea6d88e0aafaa;p=p5sagit%2Fp5-mst-13.2.git diff --git a/hints/gnu.sh b/hints/gnu.sh index 927bcea..2cfce54 100644 --- a/hints/gnu.sh +++ b/hints/gnu.sh @@ -4,7 +4,7 @@ # libnsl is unusable on the Hurd. # XXX remove this once SUNRPC is implemented. -set `echo X "$libswanted "| sed -e 's/ nsl / /'` +set `echo X "$libswanted "| sed -e 's/ nsl / /' -e 's/ c / pthread /'` shift libswanted="$*" @@ -18,6 +18,9 @@ lddlflags='-shared' # Flags needed by programs that use dynamic linking. ccdlflags='-Wl,-E' +# Debian bug #258618 +ccflags='-D_GNU_SOURCE' + # The following routines are only available as stubs in GNU libc. # XXX remove this once metaconf detects the GNU libc stubs. d_msgctl='undef'