diff options
author | James Laird <jlaird@hdfgroup.org> | 2006-05-01 22:34:19 (GMT) |
---|---|---|
committer | James Laird <jlaird@hdfgroup.org> | 2006-05-01 22:34:19 (GMT) |
commit | cec67c91dc63bc11edb471391c01705562427d42 (patch) | |
tree | a4b38a5e94d731f5d5dd968ee1001f7ca3821a97 /config/craynv | |
parent | 4965bf1839b4219c3063e27d37bc59a777cc1fb5 (diff) | |
download | hdf5-cec67c91dc63bc11edb471391c01705562427d42.zip hdf5-cec67c91dc63bc11edb471391c01705562427d42.tar.gz hdf5-cec67c91dc63bc11edb471391c01705562427d42.tar.bz2 |
[svn-r12318]
Purpose:
H5CC feature
Description:
Made H5_CFLAGS change to several more configuration files.
Solution:
Moved nonessential flags from CFLAGS to H5_CFLAGS for several more
platforms. If my guesses about which flags were nonessential were
wrong, we'll have Daily Test errors.
Platforms tested:
mir, cray, copper, juniper (OS X)
Diffstat (limited to 'config/craynv')
-rw-r--r-- | config/craynv | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/config/craynv b/config/craynv index 4097f78..e877303 100644 --- a/config/craynv +++ b/config/craynv @@ -87,7 +87,7 @@ RANLIB=: case $CC_BASENAME in gcc) - CFLAGS="$CFLAGS -Wsign-compare" #Only works for some versions + H5_CFLAGS="$H5_CFLAGS -Wsign-compare" #Only works for some versions DEBUG_CFLAGS="-g -fverbose-asm" DEBUG_CPPFLAGS= PROD_CFLAGS="-O3 -fomit-frame-pointer" @@ -97,7 +97,7 @@ case $CC_BASENAME in ;; cc) - CFLAGS="$CFLAGS" + H5_CFLAGS="$H5_CFLAGS" DEBUG_CFLAGS="-g" DEBUG_CPPFLAGS= PROD_CFLAGS="" @@ -107,7 +107,7 @@ case $CC_BASENAME in ;; *) - CFLAGS="$CFLAGS -ansi" + H5_CFLAGS="$H5_CFLAGS -ansi" DEBUG_CFLAGS="-g" DEBUG_CPPFLAGS= PROD_CFLAGS="-O" @@ -147,7 +147,9 @@ fi if test "X-" = "X-$f9x_flags_set"; then # -Wl passes flags to the linker and -M# will ignore warnings with - # number #. Warning 405 and 412 were stopping the executable from being built. + # number#. Warning 405 and 412 were stopping the executable from + # being built. + # The -em flag enables .mod files, which is what HDF5 builds. F9XSUFFIXFLAG="" FSEARCH_DIRS="" FCFLAGS="$FCFLAGS -em" @@ -166,7 +168,7 @@ fi case $CXX_BASENAME in g++) - CXXFLAGS="$CXXFLAGS -Wsign-compare" #Only works for some versions + H5_CXXFLAGS="$H5_CXXFLAGS -Wsign-compare" #Only works for some versions DEBUG_CXXFLAGS="-g -fverbose-asm" DEBUG_CPPFLAGS= PROD_CXXFLAGS="-O3 -fomit-frame-pointer" @@ -176,7 +178,7 @@ case $CXX_BASENAME in ;; *) - CXXFLAGS="$CXXFLAGS" + H5_CXXFLAGS="$H5_CXXFLAGS" DEBUG_CXXFLAGS="-g" DEBUG_CPPFLAGS= PROD_CXXFLAGS="" |