c2062f7b0d4556733d25c22b2feae7ff878e2015
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.25 / 004-extra_optimization.patch
1 Index: linux-2.6.25.1/Makefile
2 ===================================================================
3 --- linux-2.6.25.1.orig/Makefile
4 +++ linux-2.6.25.1/Makefile
5 @@ -533,6 +533,9 @@ endif
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 KBUILD_CFLAGS += $(call cc-option,-Wdeclaration-after-statement,)
14
This page took 0.042663 seconds and 3 git commands to generate.