Commit 73fdeec
committed
Explicitly fail if macOS universal build is attempted
Certain Meson compiler checks fail if CFLAGS has
`-arch x86_64 -arch arm64`. This was causing us not to set HAVE_UNISTD_H,
and then to fail the build on an implicit function declaration. Detect
this configuration during setup and fail with a clearer error.
https://trac.macports.org/ticket/696761 parent f9abe8f commit 73fdeec
2 files changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
66 | 73 | | |
67 | 74 | | |
68 | 75 | | |
| |||
0 commit comments