Commit a0538db
Alex Zepeda
bootstrap: Define CMake platform if DragonFly.
CMAKE_SYSTEM_NAME is defined on a cross build if the target is
recognized. Without this explicit definition cmake will assume that
we're building for the host platform which can bring in unwanted
compiler and linker flags.
Also, add a warning on cross builds with unknown target to aid in
cross builds for future platforms.1 parent 0308df2 commit a0538db
2 files changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
559 | 559 | | |
560 | 560 | | |
561 | 561 | | |
| 562 | + | |
| 563 | + | |
562 | 564 | | |
563 | 565 | | |
564 | 566 | | |
| |||
569 | 571 | | |
570 | 572 | | |
571 | 573 | | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
572 | 578 | | |
| 579 | + | |
573 | 580 | | |
574 | 581 | | |
575 | 582 | | |
| |||
0 commit comments