xcbuild: temporarily fix cflags/ldflags
This gets everything to build. adv_cmds: remove NIX_LDFLAGS - unneeded
This commit is contained in:
parent
6c1858a93d
commit
f1897116d0
@ -3,7 +3,7 @@ xcbuildPhase() {
|
||||
|
||||
echo "running xcodebuild"
|
||||
|
||||
xcodebuild OTHER_CFLAGS="$NIX_CFLAGS_COMPILE"
|
||||
xcodebuild
|
||||
|
||||
runHook postConfigure
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user