Commit a863092
committed
cmake: only set -march if the architecture is known
Do not set an empty -march= option when attempting
to build on an unknown system.
We only print a warning when attempting to build
on an unknown system, so this should not expect
it is never built for an unknown system.1 parent 1c0d3bf commit a863092
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
642 | 642 | | |
643 | 643 | | |
644 | 644 | | |
645 | | - | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
646 | 648 | | |
647 | 649 | | |
648 | 650 | | |
| |||
0 commit comments