diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2008-12-08 13:23:09 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2008-12-08 13:23:09 +0000 |
commit | f21f51d858ab97a4784f76481c336613abc127f6 (patch) | |
tree | e1d1a3380f15b3a411c3eeffb9adea9f6f82628b /target/linux/generic-2.6/patches-2.6.28/004-extra_optimization.patch | |
parent | 206ccdf4ae2f236a752950a701bb3eacbdaf2cc8 (diff) | |
download | upstream-f21f51d858ab97a4784f76481c336613abc127f6.tar.gz upstream-f21f51d858ab97a4784f76481c336613abc127f6.tar.bz2 upstream-f21f51d858ab97a4784f76481c336613abc127f6.zip |
add generic 2.6.28 patches
SVN-Revision: 13546
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.28/004-extra_optimization.patch')
-rw-r--r-- | target/linux/generic-2.6/patches-2.6.28/004-extra_optimization.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.28/004-extra_optimization.patch b/target/linux/generic-2.6/patches-2.6.28/004-extra_optimization.patch new file mode 100644 index 0000000000..d6866899c3 --- /dev/null +++ b/target/linux/generic-2.6/patches-2.6.28/004-extra_optimization.patch @@ -0,0 +1,12 @@ +--- a/Makefile ++++ b/Makefile +@@ -549,6 +549,9 @@ endif + NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include) + CHECKFLAGS += $(NOSTDINC_FLAGS) + ++# improve gcc optimization ++CFLAGS += $(call cc-option,-funit-at-a-time,) ++ + # warn about C99 declaration after statement + KBUILD_CFLAGS += $(call cc-option,-Wdeclaration-after-statement,) + |