build with -march=native by default

This commit is contained in:
Dustin Brody 2020-02-05 18:20:05 +01:00
parent ba9c90c0a1
commit 4d487cea1f
No known key found for this signature in database
GPG Key ID: 3D7A11A0156519DC
1 changed files with 7 additions and 0 deletions

View File

@ -21,6 +21,13 @@
-d:"chronicles_colors=off" -d:"chronicles_colors=off"
@end @end
# This helps especially for 32-bit x86, which sans SSE2 and newer instructions
# requires quite roundabout code generation for cryptography, and other 64-bit
# and larger arithmetic use cases, along with register starvation issues. When
# engineering a more portable binary release, this should be tweaked but still
# use at least -msse2 or -msse3.
--passC:"-march=native"
--threads:on --threads:on
--opt:speed --opt:speed
--excessiveStackTrace:on --excessiveStackTrace:on