diff options
author | Cody P Schafer <dev@codyps.com> | 2016-11-18 10:25:13 -0500 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2016-12-06 16:25:08 -0200 |
commit | a70bf4a9e3e1c03ff1cc2d0db228a383943c54db (patch) | |
tree | 69398a2f0b197b637a54056797b03b13f11d5841 /recipes-core/openjdk | |
parent | 9edf7d5aa5bdcf9afc4365fd1d85feca72b4ef1a (diff) | |
download | meta-java-a70bf4a9e3e1c03ff1cc2d0db228a383943c54db.tar.gz |
openjdk-7: ignore the readdir_r deprecation already ignored in openjdk-8
Without this, icedtea7-native (used to bootstrap openjdk) fails to build on my
host system due to deprecation warnings being treated as errors.
I haven't observed the same issue with openjdk-7 itself, but it seems likely to
affect it as well, so I've added the -Wno-error flag there too.
Signed-off-by: Cody P Schafer <dev@codyps.com>
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Diffstat (limited to 'recipes-core/openjdk')
-rw-r--r-- | recipes-core/openjdk/openjdk-7_99b00-2.6.5.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-core/openjdk/openjdk-7_99b00-2.6.5.bb b/recipes-core/openjdk/openjdk-7_99b00-2.6.5.bb index 711f572..eba353e 100644 --- a/recipes-core/openjdk/openjdk-7_99b00-2.6.5.bb +++ b/recipes-core/openjdk/openjdk-7_99b00-2.6.5.bb | |||
@@ -64,3 +64,7 @@ DISTRIBUTION_PATCHES = "\ | |||
64 | " | 64 | " |
65 | 65 | ||
66 | export DISTRIBUTION_PATCHES | 66 | export DISTRIBUTION_PATCHES |
67 | |||
68 | # readdir_r was deprecated in glibc-2.24. Ignore the error for now | ||
69 | # NOTE: When updating the recipe, please check if this is still needed | ||
70 | CFLAGS_append = " -Wno-error=deprecated-declarations" | ||