We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1247052 commit 0f0b89fCopy full SHA for 0f0b89f
1 file changed
pkgs/development/libraries/x264/default.nix
@@ -28,6 +28,10 @@ stdenv.mkDerivation rec {
28
29
postPatch = ''
30
patchShebangs .
31
+ ''
32
+ # Darwin uses `llvm-strip`, which results in a crash at runtime in assembly-based routines when `-x` is specified.
33
+ + lib.optionalString stdenv.isDarwin ''
34
+ substituteInPlace Makefile --replace '$(if $(STRIP), $(STRIP) -x $@)' '$(if $(STRIP), $(STRIP) -S $@)'
35
'';
36
37
enableParallelBuilding = true;
0 commit comments