From 41e6994664a5f304b5d0b1517fefd8c3950288ff Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 29 Jul 2013 09:38:21 +0000 Subject: kernel: stop patching -funit-at-a-time into CFLAGS, it has no effect on recent compilers Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37598 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/generic/patches-3.10/201-extra_optimization.patch | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'target/linux/generic/patches-3.10/201-extra_optimization.patch') diff --git a/target/linux/generic/patches-3.10/201-extra_optimization.patch b/target/linux/generic/patches-3.10/201-extra_optimization.patch index 051ede1c6b..6af3d01ba2 100644 --- a/target/linux/generic/patches-3.10/201-extra_optimization.patch +++ b/target/linux/generic/patches-3.10/201-extra_optimization.patch @@ -12,13 +12,3 @@ endif include $(srctree)/arch/$(SRCARCH)/Makefile -@@ -647,6 +647,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,) - -- cgit v1.2.3