Commit 5320285
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 ec27f15 commit 5320285
1 file changed
Lines changed: 3 additions & 1 deletion
| 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