mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-22 17:31:04 +03:00
openjdk8: add compiler flag to cope with glibc 2.24
This commit is contained in:
parent
e82ffa5612
commit
44dc95ef53
1 changed files with 4 additions and 0 deletions
|
@ -101,6 +101,10 @@ let
|
|||
"--enable-unlimited-crypto"
|
||||
"--disable-debug-symbols"
|
||||
"--disable-freetype-bundling"
|
||||
|
||||
# glibc 2.24 deprecated readdir_r so we need this
|
||||
# See https://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg49006.html
|
||||
"--with-extra-cflags=\"-Wno-error=deprecated-declarations\""
|
||||
] ++ (if minimal then [
|
||||
"--disable-headful"
|
||||
"--with-zlib=bundled"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue