add pfring patch to 2.6
[openwrt.git] / target / linux / linux-2.6 / patches / generic / 004-extra_optimization.patch
1 --- linux-2.6.12.5/Makefile.old 2005-10-23 22:56:29.017270000 +0200
2 +++ linux-2.6.12.5/Makefile 2005-10-23 22:57:23.226138500 +0200
3 @@ -533,6 +533,9 @@
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.042801 seconds and 5 git commands to generate.