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;