X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile;h=6192922de9c06e7d6b648944ebbde0db96d9c596;hb=14b395e35d1afdd8019d11b92e28041fad591b71;hp=5efdd88db85037419b16e0e52d6fb8fa8ef02106;hpb=b312bf359e20cc39c00d480fd40a24c245d80bf7;p=pandora-kernel.git diff --git a/Makefile b/Makefile index 5efdd88db850..6192922de9c0 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