summaryrefslogtreecommitdiff
path: root/hints/linux.sh
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-03-10 05:15:26 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-03-10 05:15:26 +0000
commit1d88b533f61a8e86a0609fd906a86fecfadc6d1a (patch)
treed1dc0050555555f4da3069683acbfdbd038a615c /hints/linux.sh
parent095a0503139d0a302aafb5098d9481c2b47c10fc (diff)
downloadperl-1d88b533f61a8e86a0609fd906a86fecfadc6d1a.tar.gz
Misc tiny tweaks from Sarathy, good for threaded builds.
p4raw-id: //depot/perl@15141
Diffstat (limited to 'hints/linux.sh')
-rw-r--r--hints/linux.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/hints/linux.sh b/hints/linux.sh
index 971e491536..90bcb78c58 100644
--- a/hints/linux.sh
+++ b/hints/linux.sh
@@ -249,7 +249,7 @@ esac
cat > UU/usethreads.cbu <<'EOCBU'
case "$usethreads" in
$define|true|[yY]*)
- ccflags="-D_REENTRANT $ccflags"
+ ccflags="-D_GNU_SOURCE -D_REENTRANT $ccflags"
set `echo X "$libswanted "| sed -e 's/ c / pthread c /'`
shift
libswanted="$*"