mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
audiofile: fix build with gcc9
This commit is contained in:
parent
e39773fe5b
commit
c097caf6d7
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, fetchpatch, alsaLib, AudioUnit, CoreServices }:
|
||||
{ stdenv, lib, fetchurl, fetchpatch, alsaLib, AudioUnit, CoreServices }:
|
||||
|
||||
let
|
||||
|
||||
@ -25,6 +25,9 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0rb927zknk9kmhprd8rdr4azql4gn2dp75a36iazx2xhkbqhvind";
|
||||
};
|
||||
|
||||
# fix build with gcc9
|
||||
NIX_CFLAGS_LINK = lib.optional (stdenv.system == "i686-linux") "-lgcc_s";
|
||||
|
||||
patches = [
|
||||
./gcc-6.patch
|
||||
./CVE-2015-7747.patch
|
||||
|
Loading…
Reference in New Issue
Block a user