kernel: stop patching -funit-at-a-time into CFLAGS, it has no effect on recent compilers
[openwrt/staging/dedeckeh.git] / target / linux / generic / patches-3.8 / 201-extra_optimization.patch
index d94d2cf3a8557121b005484ab3d1fa592bcf4ab6..119655dfd32b5f36cb2ab2e910d6c487b828f185 100644 (file)
  endif
  
  include $(srctree)/arch/$(SRCARCH)/Makefile
-@@ -645,6 +645,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,)