summaryrefslogtreecommitdiff
path: root/toolchain/gcc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2023-01-23 10:40:25 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2023-04-05 08:00:04 +0200
commitdf302c126bde0f30a51f130ae072a76f1336829e (patch)
tree9045d99739c5ec44f42ff46a5bc3938900fa3be2 /toolchain/gcc/Makefile
parentb0a59f10b156d1e40581be0a76c5d91f2a83f13d (diff)
add defconfig for qemu-arm-terrier
Diffstat (limited to 'toolchain/gcc/Makefile')
-rw-r--r--toolchain/gcc/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index 256b8663b..29a4723c8 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -31,6 +31,11 @@ TARGET_CFLAGS:= $(filter-out -mcpu=cortex-a7,$(TARGET_CFLAGS))
TARGET_CXXFLAGS:= $(filter-out -mcpu=cortex-a7,$(TARGET_CXXFLAGS))
endif
+ifeq ($(ADK_TARGET_ARCH_ARM),y)
+TARGET_CFLAGS:= $(filter-out -mcpu=xscale,$(TARGET_CFLAGS))
+TARGET_CXXFLAGS:= $(filter-out -mcpu=xscale,$(TARGET_CXXFLAGS))
+endif
+
ifeq ($(ADK_TARGET_USE_STATIC_AND_SHARED_LIBS),y)
TARGET_CFLAGS:= $(filter-out -static,$(TARGET_CFLAGS))
TARGET_CXXFLAGS:= $(filter-out -static,$(TARGET_CXXFLAGS))