glibc: fix build with newer bison

Fixes https://github.com/NixOS/nixpkgs/issues/54870
This commit is contained in:
Vladimír Čunát 2019-01-29 12:36:06 +01:00
parent 1283c19098
commit aa9821bbb9
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -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 =