diff options
-rw-r--r-- | recipes-core/openjdk/openjdk-8-common.inc | 4 |
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" | |||
176 | FLAGS_GCC7 = "-fno-lifetime-dse -fno-delete-null-pointer-checks" | 176 | FLAGS_GCC7 = "-fno-lifetime-dse -fno-delete-null-pointer-checks" |
177 | FLAGS_GCC8 = "-fno-lifetime-dse -fno-delete-null-pointer-checks" | 177 | FLAGS_GCC8 = "-fno-lifetime-dse -fno-delete-null-pointer-checks" |
178 | FLAGS_GCC9 = "-fno-lifetime-dse -fno-delete-null-pointer-checks" | 178 | FLAGS_GCC9 = "-fno-lifetime-dse -fno-delete-null-pointer-checks" |
179 | FLAGS_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. | ||
182 | FLAGS_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 |
181 | BUILD_CFLAGS_append = " ${@openjdk_build_helper_get_build_cflags(d)}" | 185 | BUILD_CFLAGS_append = " ${@openjdk_build_helper_get_build_cflags(d)}" |