From df302c126bde0f30a51f130ae072a76f1336829e Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 23 Jan 2023 10:40:25 +0100 Subject: add defconfig for qemu-arm-terrier --- toolchain/gcc/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'toolchain/gcc/Makefile') 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)) -- cgit v1.2.3