summaryrefslogtreecommitdiff
path: root/net/generic-nqs/files/patch-ab
blob: d79fc57ceb941efabecf4cb59ffed3228b67bcad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- 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
 }