Use -mno-unaligned-access for MOD builds
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
823de20354
commit
938a563725
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -111,7 +111,7 @@ endif
|
||||||
# --------------------------------------------------------------
|
# --------------------------------------------------------------
|
||||||
# MOD builds
|
# 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)
|
ifeq ($(WITH_LTO),true)
|
||||||
EXTRA_MOD_FLAGS += -ffat-lto-objects
|
EXTRA_MOD_FLAGS += -ffat-lto-objects
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue