diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2004-12-06 23:20:49 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2004-12-06 23:20:49 (GMT) |
commit | 33cb85337acc4d20283f152a2d8e0f2bc4212607 (patch) | |
tree | e39c3cfcbf3a945fa79a9bea4150d615497045fc | |
parent | 1379cedf500ec5de157869eafdd9c8955cc9775b (diff) | |
download | hdf5-33cb85337acc4d20283f152a2d8e0f2bc4212607.zip hdf5-33cb85337acc4d20283f152a2d8e0f2bc4212607.tar.gz hdf5-33cb85337acc4d20283f152a2d8e0f2bc4212607.tar.bz2 |
[svn-r9623] Purpose:
Bug fix.
Description:
Restored correct setting of compilers (-Wall etc for debug flags
only, c99 by default,...) that were wiped out by the commits before.
Platforms tested:
Tested in TG-NCSA, both production and development mode.
(Still need to figure out the proper flag to use for Profile.)
-rw-r--r-- | config/intel-flags | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config/intel-flags b/config/intel-flags index dd19a9b..5c76bfe 100644 --- a/config/intel-flags +++ b/config/intel-flags @@ -53,14 +53,15 @@ if test "X-icc" = "X-$cc_vendor"; then #esac # General - CFLAGS="$CFLAGS $arch -Wall -Wcheck" + # Default to C99 standard. + CFLAGS="${CFLAGS:--std=c99}" # Production PROD_CFLAGS="-O3" PROD_CPPFLAGS= # Debug - DEBUG_CFLAGS="-g" + DEBUG_CFLAGS="-Wcheck -Wall -g -O0" DEBUG_CPPFLAGS= # Profile |