diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2022-10-10 17:23:28 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2022-10-10 17:23:28 +0200 |
commit | 7f2b0d72ed48570aa7a221bb63bae1506454f993 (patch) | |
tree | 3b3a5483b0e42cf6416b7810cd2cd6fa2c873957 | |
parent | dfb84803705a29a0f2f306f836a6c1b6f9274217 (diff) |
gcc: fix compile for cortex-a7
-rw-r--r-- | toolchain/gcc/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index 3f533bad9..256b8663b 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -26,6 +26,10 @@ ifeq ($(ADK_TARGET_ARCH_ARM),y) TARGET_CFLAGS:= $(filter-out -mcpu=cortex-a9,$(TARGET_CFLAGS)) TARGET_CXXFLAGS:= $(filter-out -mcpu=cortex-a9,$(TARGET_CXXFLAGS)) endif +ifeq ($(ADK_TARGET_ARCH_ARM),y) +TARGET_CFLAGS:= $(filter-out -mcpu=cortex-a7,$(TARGET_CFLAGS)) +TARGET_CXXFLAGS:= $(filter-out -mcpu=cortex-a7,$(TARGET_CXXFLAGS)) +endif ifeq ($(ADK_TARGET_USE_STATIC_AND_SHARED_LIBS),y) TARGET_CFLAGS:= $(filter-out -static,$(TARGET_CFLAGS)) |