On ARM, do not assume -marm by default if OS_EMBEDDED=1

This commit is contained in:
Martin Kroeker 2024-04-12 15:59:45 +02:00 committed by GitHub
parent 45dbf50036
commit 00ee5d0367
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -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)