glibc: fix build with newer bison
Fixes https://github.com/NixOS/nixpkgs/issues/54870
This commit is contained in:
parent
1283c19098
commit
aa9821bbb9
@ -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 =
|
||||
|
Loading…
x
Reference in New Issue
Block a user