summaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/openjdk-8-release-common.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/openjdk/openjdk-8-release-common.inc')
-rw-r--r--recipes-core/openjdk/openjdk-8-release-common.inc12
1 files changed, 2 insertions, 10 deletions
diff --git a/recipes-core/openjdk/openjdk-8-release-common.inc b/recipes-core/openjdk/openjdk-8-release-common.inc
index bd3092f..02210a1 100644
--- a/recipes-core/openjdk/openjdk-8-release-common.inc
+++ b/recipes-core/openjdk/openjdk-8-release-common.inc
@@ -9,6 +9,7 @@ PATCHES_URI = "\
9 file://0008-autoconf-fix-shark-build-common.patch \ 9 file://0008-autoconf-fix-shark-build-common.patch \
10 file://0009-prevent-debuginfo-in-favour-of-openembedded-package-.patch \ 10 file://0009-prevent-debuginfo-in-favour-of-openembedded-package-.patch \
11 file://0010-autoconf-remove-shell-variables-from-autoheader.patch \ 11 file://0010-autoconf-remove-shell-variables-from-autoheader.patch \
12 file://0013-autoconf-remove-Werror.patch \
12 ${HOTSPOT_UB_PATCH} \ 13 ${HOTSPOT_UB_PATCH} \
13 file://2001-jdk-comparison-between-pointer-and-integer.patch \ 14 file://2001-jdk-comparison-between-pointer-and-integer.patch \
14 file://2002-jdk-Allow-using-a-system-installed-libjpeg.patch \ 15 file://2002-jdk-Allow-using-a-system-installed-libjpeg.patch \
@@ -30,6 +31,7 @@ HOTSPOT_UB_PATCH = "\
30 file://1007-hotspot-Missing-return-statement-in-__sync_val_compa.patch \ 31 file://1007-hotspot-Missing-return-statement-in-__sync_val_compa.patch \
31 file://1008-hotspot-Turn-on-the-Wreturn-type-warning.patch \ 32 file://1008-hotspot-Turn-on-the-Wreturn-type-warning.patch \
32 file://1009-hotspot-handle-format-error-for-GCC-7.patch \ 33 file://1009-hotspot-handle-format-error-for-GCC-7.patch \
34 file://1013-hotspot-make-disable-Werror.patch \
33" 35"
34HOTSPOT_UB_PATCH_append_class-target = "\ 36HOTSPOT_UB_PATCH_append_class-target = "\
35 file://1010-hotspot-fix-adlc-flags.patch \ 37 file://1010-hotspot-fix-adlc-flags.patch \
@@ -88,16 +90,6 @@ BUILD_DIR_ECJ = "openjdk.build-ecj"
88# Force arm mode for now 90# Force arm mode for now
89ARM_INSTRUCTION_SET_armv4t = "ARM" 91ARM_INSTRUCTION_SET_armv4t = "ARM"
90 92
91# readdir_r was deprecated in glibc-2.24. Ignore the error for now
92# NOTE: When updating the recipe, please check if this is still needed
93BUILD_CFLAGS_append = " -Wno-error=deprecated-declarations"
94TARGET_CFLAGS_append = " -Wno-error=deprecated-declarations"
95
96# WORKAROUND: disable the "specified bound depends on the length of the source argument"
97# compiler error until we update openjdk8 to a fixed version
98BUILD_CFLAGS_append = " -Wno-error=stringop-overflow"
99TARGET_CFLAGS_append = " -Wno-error=stringop-overflow"
100
101# Enable zero mode for arm based builds, as normal hotspot fails to build 93# Enable zero mode for arm based builds, as normal hotspot fails to build
102PACKAGECONFIG_append_armv4 = " zero" 94PACKAGECONFIG_append_armv4 = " zero"
103PACKAGECONFIG_append_armv5 = " zero" 95PACKAGECONFIG_append_armv5 = " zero"