Skip to content

Commit 971ae2f

Browse files
committed
Fix last commit
Signed-off-by: falkTX <[email protected]>
1 parent 938a563 commit 971ae2f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,11 @@ endif
111111
# --------------------------------------------------------------
112112
# MOD builds
113113

114-
EXTRA_MOD_FLAGS = -I../include/single-precision -fsingle-precision-constant -mno-unaligned-access
114+
EXTRA_MOD_FLAGS = -I../include/single-precision -fsingle-precision-constant
115115

116+
ifeq ($(CPU_ARM),true)
117+
EXTRA_MOD_FLAGS += -mno-unaligned-access
118+
endif
116119
ifeq ($(WITH_LTO),true)
117120
EXTRA_MOD_FLAGS += -ffat-lto-objects
118121
endif

0 commit comments

Comments
 (0)