libgme: fix build on apple silicon

This commit is contained in:
Angus Trau 2021-07-31 21:37:45 +10:00
parent 48c1a0b4e6
commit 9ab9a8118c

View file

@ -21,6 +21,9 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake removeReferencesTo ];
# These checks fail on aarch64-darwin
cmakeFlags = [ "-DENABLE_UBSAN=OFF" ];
# It used to reference it, in the past, but thanks to the postFixup hook, now
# it doesn't.
disallowedReferences = [ stdenv.cc.cc ];