Skip to content

Commit 938a563

Browse files
committed
Use -mno-unaligned-access for MOD builds
Signed-off-by: falkTX <[email protected]>
1 parent 823de20 commit 938a563

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ endif
111111
# --------------------------------------------------------------
112112
# MOD builds
113113

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

116116
ifeq ($(WITH_LTO),true)
117117
EXTRA_MOD_FLAGS += -ffat-lto-objects

0 commit comments

Comments
 (0)