Revert "mbrola: Fix compilation on Darwin"

This reverts commit 479d878615.

This is not required any longer, after bumping mbrola to an unstable
version that contains these fixes.
This commit is contained in:
Martin Weinelt
2025-02-02 18:23:43 +01:00
parent 1a9f228c90
commit 90160dbd10
@@ -29,15 +29,6 @@ let
hash = "sha256-ZjCl1gx/6sGtpXAYO4sAh6dutjwzClQ7kZoq0WaaBlU=";
};
postPatch = ''
substituteInPlace Makefile \
--replace-fail 'O6' 'O3'
substituteInPlace Misc/common.h \
--replace-fail '|| defined(TARGET_OS_MAC)' ""
substituteInPlace Misc/common.c \
--replace-fail '|| defined(TARGET_OS_MAC)' ""
'';
# required for cross compilation
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];