|
@@ -508,6 +508,8 @@ else
|
|
KBUILD_CFLAGS += -O2
|
|
KBUILD_CFLAGS += -O2
|
|
endif
|
|
endif
|
|
|
|
|
|
|
|
+include $(srctree)/arch/$(SRCARCH)/Makefile
|
|
|
|
+
|
|
ifneq (CONFIG_FRAME_WARN,0)
|
|
ifneq (CONFIG_FRAME_WARN,0)
|
|
KBUILD_CFLAGS += $(call cc-option,-Wframe-larger-than=${CONFIG_FRAME_WARN})
|
|
KBUILD_CFLAGS += $(call cc-option,-Wframe-larger-than=${CONFIG_FRAME_WARN})
|
|
endif
|
|
endif
|
|
@@ -516,8 +518,6 @@ endif
|
|
# Arch Makefiles may override this setting
|
|
# Arch Makefiles may override this setting
|
|
KBUILD_CFLAGS += $(call cc-option, -fno-stack-protector)
|
|
KBUILD_CFLAGS += $(call cc-option, -fno-stack-protector)
|
|
|
|
|
|
-include $(srctree)/arch/$(SRCARCH)/Makefile
|
|
|
|
-
|
|
|
|
ifdef CONFIG_FRAME_POINTER
|
|
ifdef CONFIG_FRAME_POINTER
|
|
KBUILD_CFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls
|
|
KBUILD_CFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls
|
|
else
|
|
else
|