diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2001-01-30 17:49:20 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2001-01-30 17:49:20 (GMT) |
commit | c6da08f99452b1e945f8d0c6fb50b549104fdb4f (patch) | |
tree | c46137d2ffc1c2e6ccdc14dea89ad18db81e7718 | |
parent | e94edbfbc3b2ad7fd786855c37209c5842a78077 (diff) | |
download | hdf5-c6da08f99452b1e945f8d0c6fb50b549104fdb4f.zip hdf5-c6da08f99452b1e945f8d0c6fb50b549104fdb4f.tar.gz hdf5-c6da08f99452b1e945f8d0c6fb50b549104fdb4f.tar.bz2 |
[svn-r3335] Purpose:
Config cleanup
Description:
In production environments, the optimization flag for gcc was set to
-O6, which has some code-generation problems in certain environments.
Solution:
Turned optimizations down to -O2, which is still pretty bleeding edge.
Platforms tested:
FreeBSD 4.2 (hawkwind)
-rw-r--r-- | config/gnu-flags | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/config/gnu-flags b/config/gnu-flags index eb6ea3a..1788121 100644 --- a/config/gnu-flags +++ b/config/gnu-flags @@ -126,11 +126,11 @@ case "$cc_vendor-$cc_version" in CFLAGS="$CFLAGS $ARCH -ansi" # Production - PROC_CFLAGS="-O3 $NOFP -finline-functions -Wno-shadow" + PROC_CFLAGS="-O3 $NOFP -finline-functions" PROD_CPPFLAGS= # Debug - DEBUG_CFLAGS="-g -fverbose-asm -Wno-shadow" + DEBUG_CFLAGS="-g -fverbose-asm" DEBUG_CPPFLAGS= # Profile @@ -146,11 +146,11 @@ case "$cc_vendor-$cc_version" in CFLAGS="$CFLAGS $ARCH -Wsign-compare" # Production - PROD_CFLAGS="-O3 $NOFP -finline-functions -fschedule-insns2 -Wno-shadow" + PROD_CFLAGS="-O3 $NOFP -finline-functions -fschedule-insns2" PROD_CPPFLAGS= # Debug - DEBUG_CFLAGS="-g -fverbose-asm -Wno-shadow" + DEBUG_CFLAGS="-g -fverbose-asm" DEBUG_CPPFLAGS= # Profile @@ -166,11 +166,11 @@ case "$cc_vendor-$cc_version" in CFLAGS="$CFLAGS $ARCH -Wsign-compare" # Production - PROD_CFLAGS="-O6 $NOFP -Wno-shadow" + PROD_CFLAGS="-O2 $NOFP" PROD_CPPFLAGS= # Debug - DEBUG_CFLAGS="-g -fverbose-asm -Wno-shadow" + DEBUG_CFLAGS="-g -fverbose-asm" DEBUG_CPPFLAGS= # Profile @@ -186,11 +186,11 @@ case "$cc_vendor-$cc_version" in CFLAGS="$CFLAGS $ARCH -Wsign-compare" # Production - PROD_CFLAGS="-O6 $NOFP -Wno-shadow" + PROD_CFLAGS="-O6 $NOFP" PROD_CPPFLAGS= # Debug - DEBUG_CFLAGS="-g -fverbose-asm -Wno-shadow" + DEBUG_CFLAGS="-g -fverbose-asm" DEBUG_CPPFLAGS= # Profile |