mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
[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
This commit is contained in:
parent
691fae29d4
commit
78c6d91664
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user