Merge pull request #257878 from ToxicFrog/libgme

game-music-emu: update build options

authored by Linus Heckemann and committed by GitHub a9471635 03fddbfb

+3 -2
+3 -2
pkgs/development/libraries/audio/game-music-emu/default.nix
··· 1 - { lib, stdenv, fetchurl, cmake, removeReferencesTo }: 2 3 stdenv.mkDerivation rec { 4 version = "0.6.3"; ··· 8 url = "https://bitbucket.org/mpyne/game-music-emu/downloads/${pname}-${version}.tar.xz"; 9 sha256 = "07857vdkak306d9s5g6fhmjyxk7vijzjhkmqb15s7ihfxx9lx8xb"; 10 }; 11 - cmakeFlags = lib.optionals (stdenv.isDarwin || stdenv.hostPlatform.isMusl) [ "-DENABLE_UBSAN=OFF" ]; 12 nativeBuildInputs = [ cmake removeReferencesTo ]; 13 14 # It used to reference it, in the past, but thanks to the postFixup hook, now 15 # it doesn't.
··· 1 + { lib, stdenv, fetchurl, cmake, removeReferencesTo, zlib }: 2 3 stdenv.mkDerivation rec { 4 version = "0.6.3"; ··· 8 url = "https://bitbucket.org/mpyne/game-music-emu/downloads/${pname}-${version}.tar.xz"; 9 sha256 = "07857vdkak306d9s5g6fhmjyxk7vijzjhkmqb15s7ihfxx9lx8xb"; 10 }; 11 + cmakeFlags = [ "-DENABLE_UBSAN=OFF" ]; 12 nativeBuildInputs = [ cmake removeReferencesTo ]; 13 + buildInputs = [ zlib ]; 14 15 # It used to reference it, in the past, but thanks to the postFixup hook, now 16 # it doesn't.