Browse Source

Use -mno-unaligned-access for MOD builds

Signed-off-by: falkTX <falktx@falktx.com>
tags/22.03
falkTX 3 years ago
parent
commit
938a563725
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Makefile

+ 1
- 1
Makefile View File

@@ -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


Loading…
Cancel
Save