[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)
This commit is contained in:
James Laird 2006-04-28 14:14:23 -05:00
parent 8a7b9b3221
commit 2552a2b6d2

View File

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