diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2004-07-22 22:35:25 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2004-07-22 22:35:25 (GMT) |
commit | 77ac102e43b14e397cbbcf4d36973c79b1c0d21d (patch) | |
tree | 38a8446c1def34a4499bd14fe3bddd293f74b7a2 /c++/config | |
parent | ba5b63d23156c1e355972b2e10611107781a4159 (diff) | |
download | hdf5-77ac102e43b14e397cbbcf4d36973c79b1c0d21d.zip hdf5-77ac102e43b14e397cbbcf4d36973c79b1c0d21d.tar.gz hdf5-77ac102e43b14e397cbbcf4d36973c79b1c0d21d.tar.bz2 |
[svn-r8934] Purpose:
Improvement
Description:
Removed "-D__GNUC__" which was a patch for previous version.
It is no longer needed.
Also moved the debug flags "-w2 and -Wall" to DEBUG_CXXFLAGS
so that they are used for debug mode only.
Also adjust CXXFLAGS setting so that -std=c99 is added only
if user has not preset CXXFLAGS. This allows users the option
of not using it.
Platforms tested:
Tested in tg-NCSA only since that is the only ia64 platform
around.
Misc. update:
Diffstat (limited to 'c++/config')
-rwxr-xr-x | c++/config/ia64-linux-gnu | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/c++/config/ia64-linux-gnu b/c++/config/ia64-linux-gnu index a5c732a..8d6d050 100755 --- a/c++/config/ia64-linux-gnu +++ b/c++/config/ia64-linux-gnu @@ -17,8 +17,9 @@ case $CXX_BASENAME in ;; *) - CXXFLAGS="$CXXFLAGS -std=c99 -w2 -Wall -D__GNUC__" - DEBUG_CXXFLAGS="-g" + # Default to C99 standard. + CXXFLAGS="${CXXFLAGS:--std=c99}" + DEBUG_CXXFLAGS="-g -w2 -Wall" DEBUG_CPPFLAGS= PROD_CXXFLAGS="" #Default optimization O2 is used PROD_CPPFLAGS= |