summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErkka Kääriä <erkka.kaaria@intel.com>2016-08-15 12:36:20 +0300
committerMaxin B. John <maxin.john@intel.com>2016-08-24 13:49:11 +0300
commit0f127a49696696ac48c394f84232e7f56b29fbe7 (patch)
tree2d06b424d1bf5498ea49c6bd0358a40d56338000
parent0eeeb059751c00042bd0341d17f5cceddef3c502 (diff)
downloadmeta-java-0f127a49696696ac48c394f84232e7f56b29fbe7.tar.gz
openjdk-8-release-102b14.inc: Ignore deprecation
readdir_r has been deprecated since glibc 2.24. As openjdk uses this function, a warning is generated during build that gets turned into an error when -Werror is used. While the readdir function is suggested as an replacement, it has slightly different API. The warning is ignored instead to prevent any unexpected breakage from patching the offending functions. Signed-off-by: Erkka Kääriä <erkka.kaaria@intel.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
-rw-r--r--recipes-core/openjdk/openjdk-8-release-102b14.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-core/openjdk/openjdk-8-release-102b14.inc b/recipes-core/openjdk/openjdk-8-release-102b14.inc
index c9f62ff..fdeb771 100644
--- a/recipes-core/openjdk/openjdk-8-release-102b14.inc
+++ b/recipes-core/openjdk/openjdk-8-release-102b14.inc
@@ -15,6 +15,10 @@ BUILD_DIR_ECJ = "openjdk.build-ecj"
15# Force arm mode for now 15# Force arm mode for now
16ARM_INSTRUCTION_SET_armv4t = "ARM" 16ARM_INSTRUCTION_SET_armv4t = "ARM"
17 17
18# readdir_r was deprecated in glibc-2.24. Ignore the error for now
19# NOTE: When updating the recipe, please check if this is still needed
20CFLAGS_append = " -Wno-error=deprecated-declarations"
21
18# Enable zero mode for arm based builds, as normal hotspot fails to build 22# Enable zero mode for arm based builds, as normal hotspot fails to build
19PACKAGECONFIG_append_arm = " zero" 23PACKAGECONFIG_append_arm = " zero"
20 24