summaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/openjre-8_72b05.bb
diff options
context:
space:
mode:
authorErkka Kääriä <erkka.kaaria@intel.com>2016-04-28 12:04:12 +0300
committerMaxin B. John <maxin.john@intel.com>2016-04-29 13:17:16 +0300
commit3a1ac9def769a95bbc843931d3c192038ec7c382 (patch)
treef343805c4db915a6dd195e1b01c2435ad187f7d8 /recipes-core/openjdk/openjre-8_72b05.bb
parent1b975523b8d0467b2e3a44097825c30cdc9e3944 (diff)
downloadmeta-java-3a1ac9def769a95bbc843931d3c192038ec7c382.tar.gz
Openjdk-8: Add -Wno-cpp to CFLAGS in certain makefiles
The security flag '-D_FORTIFY_SOURCE' requires at least -O to work, otherwise a warning is given. If CFLAGS additionally contains -Werror, this warning turns into an error. As Openjdk build system intentionally deoptimizes certains files due to potential bad codegen during optimization, build will fail when both '-D_FORTIFY_SOURCE' and '-Werror' are used. As turning the optimizations back on will likely break things, the warning is silenced instead. Signed-off-by: Erkka Kääriä <erkka.kaaria@intel.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
Diffstat (limited to 'recipes-core/openjdk/openjre-8_72b05.bb')
-rw-r--r--recipes-core/openjdk/openjre-8_72b05.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-core/openjdk/openjre-8_72b05.bb b/recipes-core/openjdk/openjre-8_72b05.bb
index 6d29d12..3a34848 100644
--- a/recipes-core/openjdk/openjre-8_72b05.bb
+++ b/recipes-core/openjdk/openjre-8_72b05.bb
@@ -9,6 +9,7 @@ PATCHES_URI_append = "\
9 file://openjdk8-fix-shark-build.patch;apply=no \ 9 file://openjdk8-fix-shark-build.patch;apply=no \
10 file://openjdk8-fix-shark-stdc++11.patch;apply=no \ 10 file://openjdk8-fix-shark-stdc++11.patch;apply=no \
11 file://openjdk8-use_builtin_frame_address_0_rather_than_returning_address_of_local_variable.patch;apply=no \ 11 file://openjdk8-use_builtin_frame_address_0_rather_than_returning_address_of_local_variable.patch;apply=no \
12 file://openjdk8-silence-d_fortify_source-warning.patch;apply=no \
12" 13"
13 14
14do_install() { 15do_install() {