summaryrefslogtreecommitdiff
path: root/packages/linux/linux-jlime-sh3-2.6.16.20/Optimize-O1.patch
blob: 4b8f1ec53d1719e6fd509605a3f721faaf091b4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- linux-2.6.16.20/Makefile_orig	2006-06-08 23:14:14.000000000 +0000
+++ linux-2.6.16.20/Makefile	2006-06-08 23:15:39.000000000 +0000
@@ -185,8 +185,8 @@
 
 HOSTCC  	= gcc
 HOSTCXX  	= g++
-HOSTCFLAGS	= -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
-HOSTCXXFLAGS	= -O2
+HOSTCFLAGS	= -Wall -Wstrict-prototypes -O1 -fomit-frame-pointer
+HOSTCXXFLAGS	= -O1
 
 # 	Decide whether to build built-in, modular, or both.
 #	Normally, just do built-in.
@@ -501,7 +501,7 @@
 ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
 CFLAGS		+= -Os
 else
-CFLAGS		+= -O2
+CFLAGS		+= -O1
 endif
 
 #Add align options if CONFIG_CC_* is not equal to 0