diff options
author | James Laird <jlaird@hdfgroup.org> | 2006-04-28 19:14:23 (GMT) |
---|---|---|
committer | James Laird <jlaird@hdfgroup.org> | 2006-04-28 19:14:23 (GMT) |
commit | 2552a2b6d26c9dcaadd9e658276be51070e76f62 (patch) | |
tree | c70677924ec90f9b7974dcfc7c7c54f8321e934d /config/freebsd | |
parent | 8a7b9b3221f192ed0e64b00c3a90d5e6a1fb9e19 (diff) | |
download | hdf5-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/freebsd')
-rw-r--r-- | config/freebsd | 4 |
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 |