openjdk8: add compiler flag to cope with glibc 2.24

This commit is contained in:
obadz 2016-08-20 16:29:19 +01:00
parent e82ffa5612
commit 44dc95ef53

View file

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