mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-30 11:50:06 +00:00
Merge #282849: rav1e: fix strip option mangling on x86_64-darwin
...into staging-next
This commit is contained in:
@@ -38,7 +38,7 @@ rustPlatform.buildRustPackage rec {
|
||||
# Darwin uses `llvm-strip`, which results in link errors when using `-x` to strip the asm library
|
||||
# and linking it with cctools ld64.
|
||||
postPatch = lib.optionalString (stdenv.isDarwin && stdenv.isx86_64) ''
|
||||
substituteInPlace build.rs --replace 'cmd.arg("-x")' 'cmd.arg("-S")'
|
||||
substituteInPlace build.rs --replace-fail '.arg("-x")' '.arg("-S")'
|
||||
'';
|
||||
|
||||
checkType = "debug";
|
||||
|
||||
Reference in New Issue
Block a user