diff options
author | Erkka Kääriä <erkka.kaaria@intel.com> | 2016-04-28 12:04:12 +0300 |
---|---|---|
committer | Maxin B. John <maxin.john@intel.com> | 2016-04-29 13:17:16 +0300 |
commit | 3a1ac9def769a95bbc843931d3c192038ec7c382 (patch) | |
tree | f343805c4db915a6dd195e1b01c2435ad187f7d8 /recipes-core/openjdk/openjdk-8-common.inc | |
parent | 1b975523b8d0467b2e3a44097825c30cdc9e3944 (diff) | |
download | meta-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/openjdk-8-common.inc')
0 files changed, 0 insertions, 0 deletions