diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/template/darwin | 3 | ||||
-rw-r--r-- | src/template/freebsd | 5 | ||||
-rw-r--r-- | src/template/linux | 3 | ||||
-rw-r--r-- | src/template/solaris | 1 | ||||
-rw-r--r-- | src/template/unixware | 3 |
5 files changed, 0 insertions, 15 deletions
diff --git a/src/template/darwin b/src/template/darwin index bffb0d4ea03..baf462baf62 100644 --- a/src/template/darwin +++ b/src/template/darwin @@ -4,6 +4,3 @@ CC="$CC -no-cpp-precomp" # Select appropriate semaphore support USE_NAMED_POSIX_SEMAPHORES=1 - -# verified Mac OS X 10.3.3, Darwin Kernel Version 7.3.0, 2004-04-07 -PTHREAD_CFLAGS="-D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS" diff --git a/src/template/freebsd b/src/template/freebsd index f4a16103189..718359e07c6 100644 --- a/src/template/freebsd +++ b/src/template/freebsd @@ -1,8 +1,3 @@ case $host_cpu in alpha*) CFLAGS="-O";; # alpha has problems with -O2 esac - -case $host_os in - freebsd2*|freebsd3*|freebsd4*) ;; - *) PTHREAD_LIBS="c_r";; # do we need this? 2004-04-23 -esac diff --git a/src/template/linux b/src/template/linux index 95c1b182fe5..dfb391ea542 100644 --- a/src/template/linux +++ b/src/template/linux @@ -1,5 +1,2 @@ # Force _GNU_SOURCE on; plperl is broken with Perl 5.8.0 otherwise CPPFLAGS="-D_GNU_SOURCE" - -# tools/thread/thread_test must be run -PTHREAD_CFLAGS="-D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS" diff --git a/src/template/solaris b/src/template/solaris index d6d9fbc794a..f2e7aaa0470 100644 --- a/src/template/solaris +++ b/src/template/solaris @@ -10,4 +10,3 @@ case $host in esac # -D_POSIX_PTHREAD_SEMANTICS enables 5-arg getpwuid_r, among other things -PTHREAD_CFLAGS="-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS" diff --git a/src/template/unixware b/src/template/unixware index e7e63f65daa..9dd9d88a6ed 100644 --- a/src/template/unixware +++ b/src/template/unixware @@ -24,8 +24,5 @@ __EOF__ PTHREAD_CFLAGS="-Kpthread" fi -# tools/thread/thread_test must be run -PTHREAD_CFLAGS="$PTHREAD_CFLAGS -D_REENTRANT" - # Disabled because flags are required for all apps using libpq. # Waiting to see if other platforms need this too. 2004-03-22 |