We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 938a563 commit 971ae2fCopy full SHA for 971ae2f
1 file changed
Makefile
@@ -111,8 +111,11 @@ endif
111
# --------------------------------------------------------------
112
# MOD builds
113
114
-EXTRA_MOD_FLAGS = -I../include/single-precision -fsingle-precision-constant -mno-unaligned-access
+EXTRA_MOD_FLAGS = -I../include/single-precision -fsingle-precision-constant
115
116
+ifeq ($(CPU_ARM),true)
117
+EXTRA_MOD_FLAGS += -mno-unaligned-access
118
+endif
119
ifeq ($(WITH_LTO),true)
120
EXTRA_MOD_FLAGS += -ffat-lto-objects
121
endif
0 commit comments