From 938a56372576f960131b82e697fc9ac4ef16633b Mon Sep 17 00:00:00 2001 From: falkTX Date: Mon, 14 Feb 2022 18:00:22 +0000 Subject: [PATCH] Use -mno-unaligned-access for MOD builds Signed-off-by: falkTX --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5dae380..4441e9d 100644 --- a/Makefile +++ b/Makefile @@ -111,7 +111,7 @@ endif # -------------------------------------------------------------- # MOD builds -EXTRA_MOD_FLAGS = -I../include/single-precision -fsingle-precision-constant +EXTRA_MOD_FLAGS = -I../include/single-precision -fsingle-precision-constant -mno-unaligned-access ifeq ($(WITH_LTO),true) EXTRA_MOD_FLAGS += -ffat-lto-objects