diff options
-rw-r--r-- | toolchain.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/toolchain.inc b/toolchain.inc index 8b7b30abf0..a26da477a8 100644 --- a/toolchain.inc +++ b/toolchain.inc @@ -56,6 +56,7 @@ MAP-libverstage := verstage ARCHDIR-i386 := x86 ARCHDIR-x86_32 := x86 +ARCHDIR-x86_64 := x86 ARCHDIR-arm := arm ARCHDIR-arm64 := arm64 ARCHDIR-riscv := riscv @@ -63,7 +64,7 @@ ARCHDIR-mips := mips CFLAGS_arm := -ffunction-sections -fdata-sections -CFLAGS_arm64 := -ffunction-sections -fdata-sections +CFLAGS_arm64 := -ffunction-sections -fdata-sections CFLAGS_mips := -mips32r2 -G 0 -ffunction-sections -fdata-sections CFLAGS_mips += -mno-abicalls -fno-pic @@ -71,6 +72,8 @@ CFLAGS_mips += -mno-abicalls -fno-pic CFLAGS_x86_32 += -ffunction-sections -fdata-sections CFLAGS_riscv := -ffunction-sections -fdata-sections +CFLAGS_x86_64 := -mcmodel=large + toolchain_to_dir = \ $(foreach arch,$(ARCH_SUPPORTED),\ $(eval CPPFLAGS_$(arch) += \ |