diff options
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -508,6 +508,8 @@ else | |||
| 508 | KBUILD_CFLAGS += -O2 | 508 | KBUILD_CFLAGS += -O2 |
| 509 | endif | 509 | endif |
| 510 | 510 | ||
| 511 | include $(srctree)/arch/$(SRCARCH)/Makefile | ||
| 512 | |||
| 511 | ifneq (CONFIG_FRAME_WARN,0) | 513 | ifneq (CONFIG_FRAME_WARN,0) |
| 512 | KBUILD_CFLAGS += $(call cc-option,-Wframe-larger-than=${CONFIG_FRAME_WARN}) | 514 | KBUILD_CFLAGS += $(call cc-option,-Wframe-larger-than=${CONFIG_FRAME_WARN}) |
| 513 | endif | 515 | endif |
| @@ -516,8 +518,6 @@ endif | |||
| 516 | # Arch Makefiles may override this setting | 518 | # Arch Makefiles may override this setting |
| 517 | KBUILD_CFLAGS += $(call cc-option, -fno-stack-protector) | 519 | KBUILD_CFLAGS += $(call cc-option, -fno-stack-protector) |
| 518 | 520 | ||
| 519 | include $(srctree)/arch/$(SRCARCH)/Makefile | ||
| 520 | |||
| 521 | ifdef CONFIG_FRAME_POINTER | 521 | ifdef CONFIG_FRAME_POINTER |
| 522 | KBUILD_CFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls | 522 | KBUILD_CFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls |
| 523 | else | 523 | else |
