build: -optimize now defaults to -O2 instead of -O
authorRamprasad Venkataraman <ramv@illinois.edu>
Thu, 28 Jun 2012 17:49:34 +0000 (17:49 +0000)
committerRamprasad Venkataraman <ramv@illinois.edu>
Thu, 28 Jun 2012 17:49:34 +0000 (17:49 +0000)
src/scripts/conv-config.sh

index c6ea1ce143b14a5ade173641b48b7310a87dceee..ecf5943d294058a2d23be8249f08e29562d12309 100644 (file)
@@ -29,11 +29,11 @@ CMK_LD_SHARED="-shared"
 
 . $CHARMINC/conv-mach.sh
 
-[ -z "$CMK_C_OPTIMIZE" ] && CMK_C_OPTIMIZE="-O"
+[ -z "$CMK_C_OPTIMIZE" ] && CMK_C_OPTIMIZE="-O2"
 [ -z "$CMK_C_DEBUG" ] && CMK_C_DEBUG="-g"
 [ -z "$CMK_CXX_OPTIMIZE" ] && CMK_CXX_OPTIMIZE="$CMK_C_OPTIMIZE"
 [ -z "$CMK_CXX_DEBUG" ] && CMK_CXX_DEBUG="$CMK_C_DEBUG"
-[ -z "$CMK_F90_OPTIMIZE" ] && CMK_F90_OPTIMIZE="-O"
+[ -z "$CMK_F90_OPTIMIZE" ] && CMK_F90_OPTIMIZE="-O2"
 [ -z "$CMK_F90_DEBUG" ] && CMK_F90_DEBUG="-O"
 
 [ -z "$CMK_ENABLE_C11" ] && CMK_ENABLE_C11="-std=c1x"