summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-core/openjdk/openjdk-8-common.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-core/openjdk/openjdk-8-common.inc b/recipes-core/openjdk/openjdk-8-common.inc
index d8b30b8..5228338 100644
--- a/recipes-core/openjdk/openjdk-8-common.inc
+++ b/recipes-core/openjdk/openjdk-8-common.inc
@@ -176,6 +176,10 @@ FLAGS_GCC6 = "-fno-lifetime-dse -fno-delete-null-pointer-checks"
176FLAGS_GCC7 = "-fno-lifetime-dse -fno-delete-null-pointer-checks" 176FLAGS_GCC7 = "-fno-lifetime-dse -fno-delete-null-pointer-checks"
177FLAGS_GCC8 = "-fno-lifetime-dse -fno-delete-null-pointer-checks" 177FLAGS_GCC8 = "-fno-lifetime-dse -fno-delete-null-pointer-checks"
178FLAGS_GCC9 = "-fno-lifetime-dse -fno-delete-null-pointer-checks" 178FLAGS_GCC9 = "-fno-lifetime-dse -fno-delete-null-pointer-checks"
179FLAGS_GCC10 = "-fno-lifetime-dse -fno-delete-null-pointer-checks"
180
181# GCC 10 defaults to -fno-common, but OpenJDK 8 is not ready for this.
182FLAGS_GCC10_append = " -fcommon"
179 183
180# flags for -native, and for bits that need a host-tool during -cross 184# flags for -native, and for bits that need a host-tool during -cross
181BUILD_CFLAGS_append = " ${@openjdk_build_helper_get_build_cflags(d)}" 185BUILD_CFLAGS_append = " ${@openjdk_build_helper_get_build_cflags(d)}"