-
-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
darwin.xnu: fix cross-compilation and cleanup
* Break an infinite recursion by determining the target prefix from the platform config. Referencing `stdenv.cc.bintools.targetPrefix` causes an infinite recursion because xnu is a dependency of Libsystem; * Add the host compiler as a dependency for the headers-only build, which needs to build tools it will use at build time; and * Add `migcc`, which provides a target compiler for use with `mig`, which needs to invoke clang for the target system during the build.
- Loading branch information
1 parent
f410a82
commit 37a87d0
Showing
1 changed file
with
62 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters