xcbuild: assorted fixes and cleanups

This is in preparation for the LLVM 4 upgrade (which gets more strict
about e.g., return false in xcbuild itself) and also for using xcbuild
more extensively in the Darwin stdenv bootstrap process, which is why I
killed the unnecessary gcc dependency in the toolchain. llvm-cov pretends
to be gcov anyway, so we're fine.
This commit is contained in:
Dan Peebles
2017-03-21 23:22:15 -04:00
parent 5561abd556
commit 3263d02626
8 changed files with 40 additions and 9 deletions
+2 -2
View File
@@ -50,10 +50,10 @@ stdenv.mkDerivation {
ln -s ${xcbuild}/Library/Xcode/Specifications $out/Library/Xcode/Specifications
mkdir -p $out/Platforms/
ln -s ${platform} $out/Platforms/
ln -s ${platform} $out/Platforms/nixpkgs.platform
mkdir -p $out/Toolchains/
ln -s ${toolchain} $out/Toolchains/
ln -s ${toolchain} $out/Toolchains/nixpkgs.xctoolahin
wrapProgram $out/bin/xcodebuild \
--add-flags "-xcconfig ${xcconfig}" \