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