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-15 18:58:09 -06:00
parent 6c1858a93d
commit f1897116d0
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ xcbuildPhase() {
echo "running xcodebuild" echo "running xcodebuild"
xcodebuild OTHER_CFLAGS="$NIX_CFLAGS_COMPILE" xcodebuild
runHook postConfigure runHook postConfigure
} }
@@ -14,7 +14,7 @@ stdenv.mkDerivation {
''; '';
buildInputs = [ xcbuild libcxx ]; 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 = { meta = {
platforms = stdenv.lib.platforms.darwin; platforms = stdenv.lib.platforms.darwin;