build system / amd64: Avoid GCC taking the ABI spec too literally
-mno-red-zone is an option that pretty much every barebone software package (eg. kernel, bootloader, ...) needs to use. We weren't hurt by it yet, but make sure we won't in the future. Change-Id: Ide5b63424ec1be5bf7bcade10540190b9871593b Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: http://review.coreboot.org/10852 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
d05a6c80c7
commit
6682109668
|
@ -72,7 +72,7 @@ CFLAGS_mips += -mno-abicalls -fno-pic
|
|||
CFLAGS_x86_32 += -ffunction-sections -fdata-sections
|
||||
CFLAGS_riscv += -ffunction-sections -fdata-sections
|
||||
|
||||
CFLAGS_x86_64 += -mcmodel=large
|
||||
CFLAGS_x86_64 += -mcmodel=large -mno-red-zone
|
||||
|
||||
toolchain_to_dir = \
|
||||
$(foreach arch,$(ARCH_SUPPORTED),\
|
||||
|
|
Loading…
Reference in New Issue