mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[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:
parent
8a7b9b3221
commit
2552a2b6d2
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user