This repository was archived by the owner on Feb 5, 2019. It is now read-only.
Commit be89e4b
committed
Fix cross-compiling to FreeBSD
* When testing whether we need to pass `-Wl,-z,defs` the cmake files currently
tests for FreeBSD, but only if the host system is FreeBSD. Instead we should
test whether the target that we're compiling is FreeBSD so we correctly deduce
that it should not be passed.
* The `PATH_MAX` constant is defined in a different place for the dsymutil tool,
so we just config that code out for now as it apparently doesn't include the
right header?1 parent deb2692 commit be89e4b
File tree
2 files changed
+6
-4
lines changed- cmake/modules
- tools/dsymutil
2 files changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
135 | | - | |
136 | | - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
137 | 139 | | |
138 | 140 | | |
139 | 141 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1635 | 1635 | | |
1636 | 1636 | | |
1637 | 1637 | | |
1638 | | - | |
| 1638 | + | |
1639 | 1639 | | |
1640 | 1640 | | |
1641 | 1641 | | |
| |||
0 commit comments