1999-12-27 00:46:07 +00:00
|
|
|
--- SETUPDir/GSetup-Scripts/GPort-Scripts/1020-Is-gcc.sh.orig Sat Nov 13 19:32:02 1999
|
|
|
|
+++ SETUPDir/GSetup-Scripts/GPort-Scripts/1020-Is-gcc.sh Sat Nov 13 19:32:36 1999
|
|
|
|
@@ -72,7 +72,7 @@
|
|
|
|
F_ECHO_LN "egcs"
|
|
|
|
|
|
|
|
F_DEFINE_STRING GPORT_CC_FLAGS_DEBUG "-Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations"
|
|
|
|
- F_DEFINE_STRING GPORT_CC_FLAGS_OPTIMISE "-O6 -fno-strength-reduce"
|
|
|
|
+ F_DEFINE_STRING GPORT_CC_FLAGS_OPTIMISE "-O2"
|
|
|
|
F_DEFINE_STRING GPORT_CC_FLAGS_COMMON "-Wall"
|
|
|
|
elif [ "$GPORT_HAS_GCC" = 1 ]; then
|
|
|
|
F_TEST_TYPE BLANK
|
|
|
|
@@ -80,7 +80,7 @@
|
|
|
|
F_ECHO_LN "gcc"
|
|
|
|
|
|
|
|
F_DEFINE_STRING GPORT_CC_FLAGS_DEBUG "-Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations"
|
|
|
|
- F_DEFINE_STRING GPORT_CC_FLAGS_OPTIMISE "-O6 -fno-strength-reduce"
|
|
|
|
+ F_DEFINE_STRING GPORT_CC_FLAGS_OPTIMISE "-O2"
|
|
|
|
F_DEFINE_STRING GPORT_CC_FLAGS_COMMON "-Wall"
|
|
|
|
fi
|
|
|
|
}
|