diff options
Diffstat (limited to 'src/template')
| -rw-r--r-- | src/template/bsdi | 3 | ||||
| -rw-r--r-- | src/template/freebsd | 4 | ||||
| -rw-r--r-- | src/template/linux | 2 | ||||
| -rw-r--r-- | src/template/netbsd | 1 | ||||
| -rw-r--r-- | src/template/osf | 3 | ||||
| -rw-r--r-- | src/template/unixware | 4 |
6 files changed, 8 insertions, 9 deletions
diff --git a/src/template/bsdi b/src/template/bsdi index ec73bc60d07..ba2d27247e4 100644 --- a/src/template/bsdi +++ b/src/template/bsdi @@ -11,5 +11,4 @@ case $host_os in esac SUPPORTS_THREADS=yes -NEED_REENTRANT_FUNC_NAMES=no - +NEED_REENTRANT_FUNC_NAMES=no # verified 4.3 2003-09-03 diff --git a/src/template/freebsd b/src/template/freebsd index f35b76a9993..e96e5c2fa55 100644 --- a/src/template/freebsd +++ b/src/template/freebsd @@ -5,13 +5,13 @@ case $host_cpu in esac SUPPORTS_THREADS=yes +NEED_REENTRANT_FUNC_NAMES=no + case $host_os in freebsd2*|freebsd3*|freebsd4*) THREAD_CFLAGS="-pthread" - NEED_REENTRANT_FUNC_NAMES=yes ;; *) THREAD_LIBS="-lc_r" - NEED_REENTRANT_FUNC_NAMES=yes ;; esac diff --git a/src/template/linux b/src/template/linux index fc5c874d844..db13803710e 100644 --- a/src/template/linux +++ b/src/template/linux @@ -1,7 +1,7 @@ CFLAGS=-O2 SUPPORTS_THREADS=yes +NEED_REENTRANT_FUNC_NAMES=yes # verified glibc 2.1 2003-09-03 THREAD_CFLAGS="-D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS" THREAD_LIBS="-lpthread" -NEED_REENTRANT_FUNC_NAMES=yes diff --git a/src/template/netbsd b/src/template/netbsd index c18fccb9bea..9a3869dfe77 100644 --- a/src/template/netbsd +++ b/src/template/netbsd @@ -2,4 +2,3 @@ CFLAGS='-O2 -pipe' SUPPORTS_THREADS=yes NEED_REENTRANT_FUNC_NAMES=no - diff --git a/src/template/osf b/src/template/osf index 8a65f114c55..a930bf4e08e 100644 --- a/src/template/osf +++ b/src/template/osf @@ -4,6 +4,7 @@ else CC="$CC -std" CFLAGS='-O4 -Olimit 2000' fi + SUPPORTS_THREADS=yes +NEED_REENTRANT_FUNC_NAMES=no THREAD_CFLAGS="-pthread" - diff --git a/src/template/unixware b/src/template/unixware index a948761596b..9cfde833c92 100644 --- a/src/template/unixware +++ b/src/template/unixware @@ -10,5 +10,5 @@ else fi SUPPORTS_THREADS=yes -THREAD_CFLAGS += -D_REENTRANT -NEED_REENTRANT_FUNC_NAMES=yes +NEED_REENTRANT_FUNC_NAMES=no # verified 7.1.3 2003-09-03 +THREAD_CFLAGS="$THREAD_CFLAGS -D_REENTRANT" |
