forked from mirrors/nixpkgs
stdenv: avoid -p flag for strip when boostrapping x86_64-darwin
The stdenv wouldn't build with it, as compiler-rt-libc-11.1.0/lib/darwin/libclang_rt.*_osx.a retained reference to SDKs (which we forbid for final stdenv). Assigned authorship to Trofi; I just bisected and added condition. https://github.com/NixOS/nixpkgs/pull/224669#issuecomment-1518225496
This commit is contained in:
parent
56aa87374a
commit
e7eb209fed
|
@ -63,6 +63,8 @@ rec {
|
|||
unset SDKROOT
|
||||
|
||||
stripAllFlags=" " # the Darwin "strip" command doesn't know "-s"
|
||||
'' + lib.optionalString localSystem.isx86_64 ''
|
||||
stripDebugFlags="-S" # the Darwin "strip" command does something odd with "-p"
|
||||
'';
|
||||
|
||||
bootstrapTools = derivation ({
|
||||
|
|
Loading…
Reference in a new issue