summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2025-03-01 15:49:50 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2025-03-01 15:56:43 +0100
commit102abaf8130e44436684fbf22568a192947b8699 (patch)
treed8d5156662ed798fd808755d270cd2162be7b6cb
parent09bfcefbe73b9a3e8a402da9ee0796259d20eb20 (diff)
gcc: workaround only for coldfire, breaks g++ for m68k
-rw-r--r--toolchain/gcc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index 8798b06d2..fb03e9633 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -324,7 +324,7 @@ ifeq ($(ADK_TARGET_CPU_SH_SH4A),y)
(cd ${STAGING_TARGET_DIR}/ && ln -sf . m4a)
endif
endif
-ifeq ($(ADK_TARGET_ARCH_M68K),y)
+ifeq ($(ADK_TARGET_CPU_CF),y)
# Need to get gcc to generate _all_ the multilib variants
# (so both MMU and non-mmu M68k and ColdFire).
$(SED) 's/M68K_MLIB_CPU +=/#M68K_MLIB_CPU +=/' $(WRKBUILD)/gcc/config/m68k/t-m68k