999b2e27ad63815312c7e41d35ab7fd3590161ca
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.25 / 004-extra_optimization.patch
1 Index: linux-2.6.25.4/Makefile
2 ===================================================================
3 --- linux-2.6.25.4.orig/Makefile
4 +++ linux-2.6.25.4/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.041197 seconds and 3 git commands to generate.