bazel-test-cpp: clean up apple_sdk stubs
Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
This commit is contained in:
parent
7ad1b2838b
commit
2ea4434e0b
@ -10,9 +10,7 @@
|
||||
runLocal,
|
||||
runtimeShell,
|
||||
writeScript,
|
||||
writeText,
|
||||
distDir,
|
||||
Foundation ? null,
|
||||
}:
|
||||
|
||||
let
|
||||
@ -58,10 +56,6 @@ let
|
||||
+ lib.optionalString (stdenv.hostPlatform.isDarwin) ''
|
||||
--cxxopt=-x --cxxopt=c++ --host_cxxopt=-x --host_cxxopt=c++ \
|
||||
--linkopt=-stdlib=libc++ --host_linkopt=-stdlib=libc++ \
|
||||
''
|
||||
+ lib.optionalString (stdenv.hostPlatform.isDarwin && Foundation != null) ''
|
||||
--linkopt=-Wl,-F${Foundation}/Library/Frameworks \
|
||||
--linkopt=-L${darwin.libobjc}/lib \
|
||||
'';
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user