Commit Graph

4 Commits

Author SHA1 Message Date
Quantum
f4daa9f527 [all] cmake: fix OptimizeForNative
1. Correctly detect ON state so that host is not built as -march=native by
   default.
2. Merge OFF and GENERIC options as we need at least -march=nehalem to build
   properly.
2021-07-25 13:46:13 +10:00
arcnmx
7316c1c46c [all] include OPTIMIZE_FOR_NATIVE in feature summary 2021-07-24 12:35:17 +10:00
arcnmx
38cb348201 [all] make OPTIMIZE_FOR_NATIVE a tristate option 2021-07-24 12:35:17 +10:00
arcnmx
be664c49c8 [all] cmake: use -march=x86-64-v2 when it becomes available
Moves the logic in 0525515 to a common cmake include, and applies it to
the other binaries.
2021-07-24 12:35:17 +10:00