summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toolchain.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/toolchain.inc b/toolchain.inc
index a26da477a8..3e28bb9d0b 100644
--- a/toolchain.inc
+++ b/toolchain.inc
@@ -62,17 +62,17 @@ ARCHDIR-arm64 := arm64
ARCHDIR-riscv := riscv
ARCHDIR-mips := mips
-CFLAGS_arm := -ffunction-sections -fdata-sections
+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 += -mips32r2 -G 0 -ffunction-sections -fdata-sections
CFLAGS_mips += -mno-abicalls -fno-pic
CFLAGS_x86_32 += -ffunction-sections -fdata-sections
-CFLAGS_riscv := -ffunction-sections -fdata-sections
+CFLAGS_riscv += -ffunction-sections -fdata-sections
-CFLAGS_x86_64 := -mcmodel=large
+CFLAGS_x86_64 += -mcmodel=large
toolchain_to_dir = \
$(foreach arch,$(ARCH_SUPPORTED),\