summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Leitner <richard.leitner@skidata.com>2019-06-25 13:08:43 +0200
committerRichard Leitner <richard.leitner@skidata.com>2020-08-17 13:02:40 +0200
commit743223725ac9f744f75a37a83d83f1066cd3aba0 (patch)
tree8cbcec3b39892d84b772db176fe46a0d1d635c99
parentf4a4ee10d31dc39bf641c420a41fca189130eb5d (diff)
downloadmeta-java-743223725ac9f744f75a37a83d83f1066cd3aba0.tar.gz
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 a8d3ccb..d4e80f6 100644
--- a/recipes-core/openjdk/openjdk-8-release-172b11-common.inc
+++ b/recipes-core/openjdk/openjdk-8-release-172b11-common.inc
@@ -95,6 +95,11 @@ ARM_INSTRUCTION_SET_armv4t = "ARM"
95BUILD_CFLAGS_append = " -Wno-error=deprecated-declarations" 95BUILD_CFLAGS_append = " -Wno-error=deprecated-declarations"
96TARGET_CFLAGS_append = " -Wno-error=deprecated-declarations" 96TARGET_CFLAGS_append = " -Wno-error=deprecated-declarations"
97 97
98# WORKAROUND: disable the "specified bound depends on the length of the source argument"
99# compiler error until we update openjdk8 to a fixed version
100BUILD_CFLAGS_append = " -Wno-error=stringop-overflow"
101TARGET_CFLAGS_append = " -Wno-error=stringop-overflow"
102
98# Enable zero mode for arm based builds, as normal hotspot fails to build 103# Enable zero mode for arm based builds, as normal hotspot fails to build
99PACKAGECONFIG_append_armv4 = " zero" 104PACKAGECONFIG_append_armv4 = " zero"
100PACKAGECONFIG_append_armv5 = " zero" 105PACKAGECONFIG_append_armv5 = " zero"