summaryrefslogtreecommitdiff
path: root/src/template/freebsd
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-04-26 04:04:42 +0000
committerBruce Momjian <bruce@momjian.us>2004-04-26 04:04:42 +0000
commit30a06fe2c4ef63a6b705203b0490486b8f254e6d (patch)
tree989da42e82e085594496d9bc54bdc6b86e889e7e /src/template/freebsd
parentf5b6ce7cb9f775230a5d02a99e6a181a2d5a5999 (diff)
downloadpostgresql-30a06fe2c4ef63a6b705203b0490486b8f254e6d.tar.gz
Unconditionally define:
-D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS for all ports. It can't hurt if they are not supported, but it makes our job easier for porting. Should fix Darwin compile and other platforms without mucking with the thread detection code.
Diffstat (limited to 'src/template/freebsd')
-rw-r--r--src/template/freebsd5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/template/freebsd b/src/template/freebsd
index f4a1610318..718359e07c 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