Unverified Commit 90160dbd authored by Martin Weinelt's avatar Martin Weinelt
Browse files

Revert "mbrola: Fix compilation on Darwin"

This reverts commit 479d8786.

This is not required any longer, after bumping mbrola to an unstable
version that contains these fixes.
parent 1a9f228c
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -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" ];