[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:
Quincey Koziol 2004-02-21 12:44:44 -05:00
parent 691fae29d4
commit 78c6d91664

View File

@ -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