1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

xcbuild: temporarily fix cflags/ldflags

This gets everything to build.

adv_cmds: remove NIX_LDFLAGS

- unneeded
This commit is contained in:
Matthew Bauer 2016-11-07 17:43:20 -06:00
parent 6c1858a93d
commit f1897116d0
No known key found for this signature in database
GPG key ID: E04D0AD9469141C3
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@ xcbuildPhase() {
echo "running xcodebuild"
xcodebuild OTHER_CFLAGS="$NIX_CFLAGS_COMPILE"
xcodebuild
runHook postConfigure
}

View file

@ -14,7 +14,7 @@ stdenv.mkDerivation {
'';
buildInputs = [ xcbuild libcxx ];
#NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1";
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1";
meta = {
platforms = stdenv.lib.platforms.darwin;