summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2004-12-06 23:20:44 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2004-12-06 23:20:44 (GMT)
commit81acec07595414567a2731e4ec66deed4964e598 (patch)
tree3c09b33aba6dfc6c2949c8cd0fe8d4a652d241a9
parent7b3206487eca350f4ca8f37d7cbbd8f01b4a925a (diff)
downloadhdf5-81acec07595414567a2731e4ec66deed4964e598.zip
hdf5-81acec07595414567a2731e4ec66deed4964e598.tar.gz
hdf5-81acec07595414567a2731e4ec66deed4964e598.tar.bz2
[svn-r9622] 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-flags5
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