Merge pull request #245603 from reckenrode/netbsd-compat-fix

This commit is contained in:
Artturi 2023-08-03 02:02:34 +03:00 committed by GitHub
commit 91991a339a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";