aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Leitner <richard.leitner@skidata.com>2019-06-25 13:08:43 +0200
committerRichard Leitner <richard.leitner@skidata.com>2019-12-27 11:35:26 +0100
commit327c75c49d2fb294cd863e77810d014acfe0c31f (patch)
treecfcd8c932eb67f0a55dfa346ad8fcd3e30748fa1
parent0ac41c774c46146f2f0a633297f20ec8a88bfc6e (diff)
downloadmeta-java-327c75c49d2fb294cd863e77810d014acfe0c31f.tar.gz
meta-java-327c75c49d2fb294cd863e77810d014acfe0c31f.tar.bz2
meta-java-327c75c49d2fb294cd863e77810d014acfe0c31f.zip
openjdk-8: disable stringop-overflow compiler errors
As new compilers generate this error we disable it for now as a WORKAROUND. This will be removed when openjdk-8 is updated to the latest version Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
-rw-r--r--recipes-core/openjdk/openjdk-8-release-172b11-common.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes-core/openjdk/openjdk-8-release-172b11-common.inc b/recipes-core/openjdk/openjdk-8-release-172b11-common.inc
index ad20585..f3bbf0a 100644
--- a/recipes-core/openjdk/openjdk-8-release-172b11-common.inc
+++ b/recipes-core/openjdk/openjdk-8-release-172b11-common.inc
@@ -94,6 +94,11 @@ ARM_INSTRUCTION_SET_armv4t = "ARM"
BUILD_CFLAGS_append = " -Wno-error=deprecated-declarations"
TARGET_CFLAGS_append = " -Wno-error=deprecated-declarations"
+# WORKAROUND: disable the "specified bound depends on the length of the source argument"
+# compiler error until we update openjdk8 to a fixed version
+BUILD_CFLAGS_append = " -Wno-error=stringop-overflow"
+TARGET_CFLAGS_append = " -Wno-error=stringop-overflow"
+
# Enable zero mode for arm based builds, as normal hotspot fails to build
PACKAGECONFIG_append_armv4 = " zero"
PACKAGECONFIG_append_armv5 = " zero"