We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 471e26a commit 1e8eee9Copy full SHA for 1e8eee9
CMakeLists.txt
@@ -139,6 +139,9 @@ if(WIN32)
139
_WINDOWS
140
_MT
141
)
142
+ # Avoid the use of aligned vector instructions when building for Windows.
143
+ # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54412.
144
+ try_append_cxx_flags("-Wa,-muse-unaligned-vector-move" TARGET core)
145
try_append_linker_flag("-static" TARGET core)
146
# We require Windows 7 (NT 6.1) or later.
147
try_append_linker_flag("-Wl,--major-subsystem-version,6" TARGET core)
0 commit comments