mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
17353f3ac0
PR: 14915 Submitted by: maintainer
21 lines
951 B
Plaintext
21 lines
951 B
Plaintext
--- 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
|
|
}
|