From: Jarkko Hietaniemi Date: Tue, 19 Mar 2002 18:25:21 +0000 (+0000) Subject: Sarathy's new suggestion for Linux threading flags. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5631657506cad9ec2bb834419e12de99314c37d5;p=p5sagit%2Fp5-mst-13.2.git Sarathy's new suggestion for Linux threading flags. p4raw-id: //depot/perl@15333 --- diff --git a/hints/linux.sh b/hints/linux.sh index d09f076..bd713b8 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="$*"