From 33cb85337acc4d20283f152a2d8e0f2bc4212607 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Mon, 6 Dec 2004 18:20:49 -0500 Subject: [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.) --- config/intel-flags | 5 +++-- 1 file 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 -- cgit v0.12