diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2019-01-29 12:36:06 +0100 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2019-01-29 12:42:26 +0100 |
commit | aa9821bbb9ce1085205eeb01bcfe3529617ed712 (patch) | |
tree | be5165d5006dda4794d95ad03a30e7dc76783dbc /pkgs/development/libraries/glibc | |
parent | 1283c190982516f25ef023b2972de16b955f6cc6 (diff) |
glibc: fix build with newer bison
Fixes https://github.com/NixOS/nixpkgs/issues/54870
Diffstat (limited to 'pkgs/development/libraries/glibc')
-rw-r--r-- | pkgs/development/libraries/glibc/common.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/libraries/glibc/common.nix b/pkgs/development/libraries/glibc/common.nix index 7e99a0c18d7d1..d8cc00738a9af 100644 --- a/pkgs/development/libraries/glibc/common.nix +++ b/pkgs/development/libraries/glibc/common.nix @@ -105,6 +105,9 @@ stdenv.mkDerivation ({ # nscd needs libgcc, and we don't want it dynamically linked # because we don't want it to depend on bootstrap-tools libs. echo "LDFLAGS-nscd += -static-libgcc" >> nscd/Makefile + + # bison 3.3 is too strict + sed 's/^BISONFLAGS = --yacc /BISONFLAGS = --yacc -Wno-error=yacc /g' -i intl/Makefile ''; configureFlags = |