From 971ae2f7c673cce561d45490dea3e4e045ded9be Mon Sep 17 00:00:00 2001 From: falkTX Date: Mon, 14 Feb 2022 18:10:21 +0000 Subject: [PATCH] Fix last commit Signed-off-by: falkTX --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4441e9d7..d79aae5b 100644 --- a/Makefile +++ b/Makefile @@ -111,8 +111,11 @@ endif # -------------------------------------------------------------- # MOD builds -EXTRA_MOD_FLAGS = -I../include/single-precision -fsingle-precision-constant -mno-unaligned-access +EXTRA_MOD_FLAGS = -I../include/single-precision -fsingle-precision-constant +ifeq ($(CPU_ARM),true) +EXTRA_MOD_FLAGS += -mno-unaligned-access +endif ifeq ($(WITH_LTO),true) EXTRA_MOD_FLAGS += -ffat-lto-objects endif