netbsd.compat: use strip from cctools-port
llvm-strip does not support `-X` for Mach-O, so make sure the cctools version is used.
This commit is contained in:
parent
9ae5c2de7f
commit
3f948b7664
|
@ -212,7 +212,7 @@ in makeScopeWithSplicing
|
|||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# GNU objcopy produces broken .a libs which won't link into dependers.
|
||||
# Makefiles only invoke `$OBJCOPY -x/-X`, so cctools strip works here.
|
||||
"OBJCOPY=${buildPackages.darwin.cctools}/bin/strip"
|
||||
"OBJCOPY=${buildPackages.darwin.cctools-port}/bin/strip"
|
||||
];
|
||||
RENAME = "-D";
|
||||
|
||||
|
|
Loading…
Reference in a new issue