summaryrefslogtreecommitdiff
path: root/hints/linux.sh
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-03-19 18:25:21 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-03-19 18:25:21 +0000
commit5631657506cad9ec2bb834419e12de99314c37d5 (patch)
tree631ac3fdbc0c255dfb3645202b8f0a1099af7803 /hints/linux.sh
parentb7990e417b5117f9e7668c775533ba878294dd16 (diff)
downloadperl-5631657506cad9ec2bb834419e12de99314c37d5.tar.gz
Sarathy's new suggestion for Linux threading flags.
p4raw-id: //depot/perl@15333
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 d09f076e2b..bd713b8eb4 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_REENTRANT -D_POSIX_C_SOURCE=199506L -D_SVID_SOURCE $ccflags"
set `echo X "$libswanted "| sed -e 's/ c / pthread c /'`
shift
libswanted="$*"