summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Kroon <jacob.kroon@gmail.com>2020-04-30 15:15:55 +0200
committerRichard Leitner <richard.leitner@skidata.com>2020-05-01 11:22:15 +0200
commitbb51be580365078f8e572353f2430bbbf1790ce9 (patch)
treea7e764832c0ea3bb0a308fd4ab17b2b63dbc0275
parent2044442bbc4849c2ca33b1402883cae95de757a2 (diff)
downloadmeta-java-bb51be580365078f8e572353f2430bbbf1790ce9.tar.gz
icedtea7-native: Fix building with GCC 10
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
-rw-r--r--recipes-core/icedtea/icedtea7-native.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-core/icedtea/icedtea7-native.inc b/recipes-core/icedtea/icedtea7-native.inc
index 8d0dc71..b0b9419 100644
--- a/recipes-core/icedtea/icedtea7-native.inc
+++ b/recipes-core/icedtea/icedtea7-native.inc
@@ -28,6 +28,9 @@ CXX_append = " -std=gnu++98"
28# WORKAROUND: ignore errors from new compilers 28# WORKAROUND: ignore errors from new compilers
29CFLAGS_append = " -Wno-error=stringop-overflow -Wno-error=return-type" 29CFLAGS_append = " -Wno-error=stringop-overflow -Wno-error=return-type"
30 30
31# Explicitly pass -fcommon since GCC 10 defaults to -fno-common for C sources
32CFLAGS_append = " -fcommon"
33
31inherit native java autotools pkgconfig 34inherit native java autotools pkgconfig
32inherit openjdk-build-helper 35inherit openjdk-build-helper
33inherit python3native 36inherit python3native