Merge pull request #132272 from angustrau/libgme

libgme: fix build on apple silicon
This commit is contained in:
Jörg Thalheim 2021-08-01 08:06:43 +01:00 committed by GitHub
commit f5135a1291
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 ];