3a08e134314f91aea777c4f9e3ad5cfa994794c7
[openwrt.git] / target / linux / generic-2.6 / patches / 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.03773 seconds and 3 git commands to generate.