aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-4.0/201-extra_optimization.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-06-14 18:17:47 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-06-14 18:17:47 +0000
commita7bea11085c99c96e55f06e425bd695948afa743 (patch)
tree049afc3b485c13c66171a376c5b3adeec7fd2597 /target/linux/generic/patches-4.0/201-extra_optimization.patch
parent1bb873c7d5929eb0c60c5b611e880f443ed90f5f (diff)
downloadupstream-a7bea11085c99c96e55f06e425bd695948afa743.tar.gz
upstream-a7bea11085c99c96e55f06e425bd695948afa743.tar.bz2
upstream-a7bea11085c99c96e55f06e425bd695948afa743.zip
kernel: remove linux 4.0
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@45975 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-4.0/201-extra_optimization.patch')
-rw-r--r--target/linux/generic/patches-4.0/201-extra_optimization.patch14
1 files changed, 0 insertions, 14 deletions
diff --git a/target/linux/generic/patches-4.0/201-extra_optimization.patch b/target/linux/generic/patches-4.0/201-extra_optimization.patch
deleted file mode 100644
index a3398267d6..0000000000
--- a/target/linux/generic/patches-4.0/201-extra_optimization.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- a/Makefile
-+++ b/Makefile
-@@ -614,9 +614,9 @@ include $(srctree)/arch/$(SRCARCH)/Makef
- KBUILD_CFLAGS += $(call cc-option,-fno-delete-null-pointer-checks,)
-
- ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
--KBUILD_CFLAGS += -Os $(call cc-disable-warning,maybe-uninitialized,)
-+KBUILD_CFLAGS += -Os $(EXTRA_OPTIMIZATION) $(call cc-disable-warning,maybe-uninitialized,)
- else
--KBUILD_CFLAGS += -O2
-+KBUILD_CFLAGS += -O2 -fno-reorder-blocks -fno-tree-ch $(EXTRA_OPTIMIZATION)
- endif
-
- # Tell gcc to never replace conditional load with a non-conditional one