fix failsafe on broadcom, send netlink events in diag when running linux 2.6
[openwrt.git] / target / linux / generic-2.6 / patches / 004-extra_optimization.patch
1 diff -urN linux-2.6.21.1.old/Makefile linux-2.6.21.1.dev/Makefile
2 --- linux-2.6.21.1.old/Makefile 2007-04-27 23:49:26.000000000 +0200
3 +++ linux-2.6.21.1.dev/Makefile 2007-05-26 19:14:22.967804016 +0200
4 @@ -507,6 +507,9 @@
5 NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include)
6 CHECKFLAGS += $(NOSTDINC_FLAGS)
7
8 +# improve gcc optimization
9 +CFLAGS += $(call cc-option,-funit-at-a-time,)
10 +
11 # warn about C99 declaration after statement
12 CFLAGS += $(call cc-option,-Wdeclaration-after-statement,)
13
This page took 0.0453249999999999 seconds and 5 git commands to generate.