From 78c6d916643dae2ab730fada354edcd1f5781f70 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Sat, 21 Feb 2004 12:44:44 -0500 Subject: [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 --- config/freebsd | 5 ++--- 1 file 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 -- cgit v0.12