forked from mirrors/nixpkgs
openjdk8: add compiler flag to cope with glibc 2.24
This commit is contained in:
parent
e82ffa5612
commit
44dc95ef53
|
@ -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…
Reference in a new issue