mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-30 15:32:37 +08:00
[svn-r10787] Purpose:
Bug fix Description: Accommodate the GNU C++ compiler. Platforms tested: FreeBSD 4.11 (sleipnir) w/CC=g++ Not tested by h5committest
This commit is contained in:
parent
5e6b5f30cf
commit
7a9cd4ac49
@ -13,7 +13,10 @@ fi
|
||||
|
||||
# Add "_XOPEN_SOURCE" define to cpp flags, to quiet warnings
|
||||
# from /usr/include/sys/cdefs.h
|
||||
CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=600"
|
||||
# (Unless we are using g++ as a C compiler)
|
||||
if test "X-g++" != "X-$CC"; then
|
||||
CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=600"
|
||||
fi
|
||||
|
||||
# Figure out C compiler flags
|
||||
. $srcdir/config/gnu-flags
|
||||
|
Loading…
Reference in New Issue
Block a user