summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2006-04-28 19:14:23 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2006-04-28 19:14:23 (GMT)
commit2552a2b6d26c9dcaadd9e658276be51070e76f62 (patch)
treec70677924ec90f9b7974dcfc7c7c54f8321e934d /config
parent8a7b9b3221f192ed0e64b00c3a90d5e6a1fb9e19 (diff)
downloadhdf5-2552a2b6d26c9dcaadd9e658276be51070e76f62.zip
hdf5-2552a2b6d26c9dcaadd9e658276be51070e76f62.tar.gz
hdf5-2552a2b6d26c9dcaadd9e658276be51070e76f62.tar.bz2
[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)
Diffstat (limited to 'config')
-rw-r--r--config/freebsd4
1 files 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