Sarathy's new suggestion for Linux threading flags.
Jarkko Hietaniemi [Tue, 19 Mar 2002 18:25:21 +0000 (18:25 +0000)]
p4raw-id: //depot/perl@15333

hints/linux.sh

index d09f076..bd713b8 100644 (file)
@@ -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="$*"