X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=Makefile;h=6192922de9c06e7d6b648944ebbde0db96d9c596;hb=8b2b9c1af065a45ef00c26964420489a53581779;hp=5efdd88db85037419b16e0e52d6fb8fa8ef02106;hpb=5a86102248592e178a9023359ccf7f0e489d8e35;p=safe%2Fjmp%2Flinux-2.6 diff --git a/Makefile b/Makefile index 5efdd88..6192922 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