upgrade orion to 2.6.28-rc7
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.21 / 004-extra_optimization.patch
1 Index: linux-2.6.21.7/Makefile
2 ===================================================================
3 --- linux-2.6.21.7.orig/Makefile
4 +++ linux-2.6.21.7/Makefile
5 @@ -507,6 +507,9 @@ CFLAGS += $(call cc-option, -fn
6 NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include)
7 CHECKFLAGS += $(NOSTDINC_FLAGS)
8
9 +# improve gcc optimization
10 +CFLAGS += $(call cc-option,-funit-at-a-time,)
11 +
12 # warn about C99 declaration after statement
13 CFLAGS += $(call cc-option,-Wdeclaration-after-statement,)
14
This page took 0.040736 seconds and 5 git commands to generate.