audiofile: fix build with gcc9

This commit is contained in:
Franz Pletz
2019-11-02 17:47:52 +01:00
parent e39773fe5b
commit c097caf6d7
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, fetchpatch, alsaLib, AudioUnit, CoreServices }: { stdenv, lib, fetchurl, fetchpatch, alsaLib, AudioUnit, CoreServices }:
let let
@@ -25,6 +25,9 @@ stdenv.mkDerivation rec {
sha256 = "0rb927zknk9kmhprd8rdr4azql4gn2dp75a36iazx2xhkbqhvind"; sha256 = "0rb927zknk9kmhprd8rdr4azql4gn2dp75a36iazx2xhkbqhvind";
}; };
# fix build with gcc9
NIX_CFLAGS_LINK = lib.optional (stdenv.system == "i686-linux") "-lgcc_s";
patches = [ patches = [
./gcc-6.patch ./gcc-6.patch
./CVE-2015-7747.patch ./CVE-2015-7747.patch