summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-02-21 17:44:44 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-02-21 17:44:44 (GMT)
commit78c6d916643dae2ab730fada354edcd1f5781f70 (patch)
treec65c2feb3473d2b1dfface0fa27438ac2b619216 /config
parent691fae29d48fdd1a39bfd73b0c55a0cc9571d767 (diff)
downloadhdf5-78c6d916643dae2ab730fada354edcd1f5781f70.zip
hdf5-78c6d916643dae2ab730fada354edcd1f5781f70.tar.gz
hdf5-78c6d916643dae2ab730fada354edcd1f5781f70.tar.bz2
[svn-r8214] Purpose:
Bug fix Description: Update threadsafe flags for FreeBSD and allow C++ to be built with threadsafe enabled. Platforms tested: FreeBSD 4.9 (sleipnir) w/C++ & thread-safe
Diffstat (limited to 'config')
-rw-r--r--config/freebsd5
1 files changed, 2 insertions, 3 deletions
diff --git a/config/freebsd b/config/freebsd
index b7598cc..f4a5518 100644
--- a/config/freebsd
+++ b/config/freebsd
@@ -27,8 +27,7 @@ NOFP=${NOFP:=-fomit-frame-pointer}
# Special setup to use pthread support if enable-threadsafe is on.
# Works with static executable only.
if test "X-" != "X-$enable_threadsafe"; then
- CFLAGS="$CFLAGS -pthread -D_THREAD_SAFE"
+ CFLAGS="$CFLAGS -D_THREAD_SAFE"
+ CXXFLAGS="$CXXFLAGS -D_THREAD_SAFE"
LDFLAGS="$LDFLAGS -pthread"
- LIBS="$LIBS -lcipher"
- enable_static_exec=yes
fi