mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 06:27:43 +00:00
libechonest: fix build with gcc 11
This commit is contained in:
parent
2ea2f7b6d0
commit
795cd44716
@ -11,6 +11,9 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0xbavf9f355dl1d3qv59x4ryypqrdanh9xdvw2d0q66l008crdkq";
|
||||
};
|
||||
|
||||
# Fix build with GCC 11.
|
||||
NIX_CFLAGS_COMPILE = [ "-std=c++14" ];
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/lfranchi/libechonest/commit/009514f65044823ef29045397d4b58dd04d09977.patch";
|
||||
|
Loading…
Reference in New Issue
Block a user