From 2552a2b6d26c9dcaadd9e658276be51070e76f62 Mon Sep 17 00:00:00 2001 From: James Laird Date: Fri, 28 Apr 2006 14:14:23 -0500 Subject: [svn-r12312] Purpose: H5_CFLAGS change Description: Made the threadsafe flags in config/freebsd H5_CFLAGS so that they are not passed on to h5cc. Solution: If user applications need the threadsafe flag to link properly against the threadsafe HDF5 library, we'll see linking errors in make-install when threadsafe is enabled, and can revert this change. Platforms tested: mir only (very minor change) --- config/freebsd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/freebsd b/config/freebsd index d59eb2a..16c36fc 100644 --- a/config/freebsd +++ b/config/freebsd @@ -65,8 +65,8 @@ fi # 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 -D_THREAD_SAFE" - CXXFLAGS="$CXXFLAGS -D_THREAD_SAFE" + H5_CFLAGS="$H5_CFLAGS -D_THREAD_SAFE" + H5_CXXFLAGS="$H5_CXXFLAGS -D_THREAD_SAFE" LDFLAGS="$LDFLAGS -pthread" fi -- cgit v0.12