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-08-17 13:24:19 +0200
commit0670db2eab4cd60182e994da87749372daf0d585 (patch)
tree27206935e95adece83620a0f0820a1aeb2c8aff2
parent50b338fc3ec6c437f590ba83f6d051277ed261c6 (diff)
downloadmeta-java-0670db2eab4cd60182e994da87749372daf0d585.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