From 00ee5d0367cd59a3b1cdd1f36dae101d05495be3 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Fri, 12 Apr 2024 15:59:45 +0200 Subject: [PATCH] On ARM, do not assume -marm by default if OS_EMBEDDED=1 --- Makefile.system | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.system b/Makefile.system index 902b53605..a4f41236b 100644 --- a/Makefile.system +++ b/Makefile.system @@ -811,8 +811,10 @@ ifeq ($(ARCH), arm) NO_BINARY_MODE = 1 BINARY_DEFINED = 1 +ifneq ($(OS_EMBEDDED), 1) CCOMMON_OPT += -marm FCOMMON_OPT += -marm +endif # If softfp abi is mentioned on the command line, force it. ifeq ($(ARM_SOFTFP_ABI), 1)