summaryrefslogtreecommitdiffstats
path: root/recipes-core/xml-commons
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/xml-commons
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/xml-commons')
0 files changed, 0 insertions, 0 deletions