diff options
author | Richard Leitner <richard.leitner@skidata.com> | 2019-06-25 13:08:43 +0200 |
---|---|---|
committer | Richard Leitner <richard.leitner@skidata.com> | 2019-12-27 11:41:34 +0100 |
commit | d5a8ec9e269d1f04a6cf78867ebf74a297f33258 (patch) | |
tree | 9d3c0c69b19bf9768f5998272a85f931652df029 /recipes-core | |
parent | 75027f01429be0642c0488f1e68a983424be77b2 (diff) | |
download | meta-java-d5a8ec9e269d1f04a6cf78867ebf74a297f33258.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>
Diffstat (limited to 'recipes-core')
-rw-r--r-- | recipes-core/openjdk/openjdk-8-release-172b11-common.inc | 5 |
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" | |||
94 | BUILD_CFLAGS_append = " -Wno-error=deprecated-declarations" | 94 | BUILD_CFLAGS_append = " -Wno-error=deprecated-declarations" |
95 | TARGET_CFLAGS_append = " -Wno-error=deprecated-declarations" | 95 | TARGET_CFLAGS_append = " -Wno-error=deprecated-declarations" |
96 | 96 | ||
97 | # WORKAROUND: disable the "specified bound depends on the length of the source argument" | ||
98 | # compiler error until we update openjdk8 to a fixed version | ||
99 | BUILD_CFLAGS_append = " -Wno-error=stringop-overflow" | ||
100 | TARGET_CFLAGS_append = " -Wno-error=stringop-overflow" | ||
101 | |||
97 | # Enable zero mode for arm based builds, as normal hotspot fails to build | 102 | # Enable zero mode for arm based builds, as normal hotspot fails to build |
98 | PACKAGECONFIG_append_armv4 = " zero" | 103 | PACKAGECONFIG_append_armv4 = " zero" |
99 | PACKAGECONFIG_append_armv5 = " zero" | 104 | PACKAGECONFIG_append_armv5 = " zero" |