summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-3.3
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-07-29 09:38:21 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-07-29 09:38:21 +0000
commitcc26f768e4ee5ee25a3b784ac6d23578427ccb70 (patch)
tree7b707d87dcb417b9b426721da1cd2aaaed21e020 /target/linux/generic/patches-3.3
parentc67a12711d965ad95d08488f3bc08563ee19fe8b (diff)
downloadmtk-20170518-cc26f768e4ee5ee25a3b784ac6d23578427ccb70.zip
mtk-20170518-cc26f768e4ee5ee25a3b784ac6d23578427ccb70.tar.gz
mtk-20170518-cc26f768e4ee5ee25a3b784ac6d23578427ccb70.tar.bz2
kernel: stop patching -funit-at-a-time into CFLAGS, it has no effect on recent compilers
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37598
Diffstat (limited to 'target/linux/generic/patches-3.3')
-rw-r--r--target/linux/generic/patches-3.3/201-extra_optimization.patch10
1 files changed, 0 insertions, 10 deletions
diff --git a/target/linux/generic/patches-3.3/201-extra_optimization.patch b/target/linux/generic/patches-3.3/201-extra_optimization.patch
index 6fe8b09..e724891 100644
--- a/target/linux/generic/patches-3.3/201-extra_optimization.patch
+++ b/target/linux/generic/patches-3.3/201-extra_optimization.patch
@@ -12,13 +12,3 @@
endif
include $(srctree)/arch/$(SRCARCH)/Makefile
-@@ -620,6 +620,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,)
-