X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile;h=6192922de9c06e7d6b648944ebbde0db96d9c596;hb=0031a06e2f07ab0d1bc98c31dbb6801f95f4bf01;hp=5efdd88db85037419b16e0e52d6fb8fa8ef02106;hpb=38c46578ffd8ffbfec514c2a9876d527303322d6;p=linux-2.6-omap-h63xx.git diff --git a/Makefile b/Makefile index 5efdd88db85..6192922de9c 100644 --- a/Makefile +++ b/Makefile @@ -507,6 +507,8 @@ else KBUILD_CFLAGS += -O2 endif +include $(srctree)/arch/$(SRCARCH)/Makefile + ifneq (CONFIG_FRAME_WARN,0) KBUILD_CFLAGS += $(call cc-option,-Wframe-larger-than=${CONFIG_FRAME_WARN}) endif @@ -515,8 +517,6 @@ endif # Arch Makefiles may override this setting KBUILD_CFLAGS += $(call cc-option, -fno-stack-protector) -include $(srctree)/arch/$(SRCARCH)/Makefile - ifdef CONFIG_FRAME_POINTER KBUILD_CFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls else