diff options
| -rw-r--r-- | recipes-core/openjdk/openjdk-8-common.inc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/recipes-core/openjdk/openjdk-8-common.inc b/recipes-core/openjdk/openjdk-8-common.inc index def779d..0c5c2c3 100644 --- a/recipes-core/openjdk/openjdk-8-common.inc +++ b/recipes-core/openjdk/openjdk-8-common.inc | |||
| @@ -218,10 +218,11 @@ EXTRA_OECONF_append = "\ | |||
| 218 | --with-update-version=${OPENJDK_UPDATE_VERSION} \ | 218 | --with-update-version=${OPENJDK_UPDATE_VERSION} \ |
| 219 | " | 219 | " |
| 220 | 220 | ||
| 221 | # GCC 6 sets the default C++ standard to C++14 and introduces dead store | 221 | # Since v6, GCC sets the default C++ standard to C++14 and introduces |
| 222 | # elimination by default. OpenJDK 8 is not ready for either of these | 222 | # dead store elimination by default. OpenJDK 8 is not ready for either |
| 223 | # changes. | 223 | # of these changes. |
| 224 | FLAGS_GCC6 = "-fno-lifetime-dse -fno-delete-null-pointer-checks" | 224 | FLAGS_GCC6 = "-fno-lifetime-dse -fno-delete-null-pointer-checks" |
| 225 | FLAGS_GCC7 = "-fno-lifetime-dse -fno-delete-null-pointer-checks" | ||
| 225 | 226 | ||
| 226 | # All supported cross compilers support the compiler flags that were | 227 | # All supported cross compilers support the compiler flags that were |
| 227 | # added to make compilation with gcc6 work. But the host compiler for | 228 | # added to make compilation with gcc6 work. But the host compiler for |
