Skip to content

Commit

Permalink
Use -mno-unaligned-access for MOD builds
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Feb 14, 2022
1 parent 823de20 commit 938a563
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 938a563

Please sign in to comment.