diff options
author | Jacob Kroon <jacob.kroon@gmail.com> | 2020-04-30 15:15:55 +0200 |
---|---|---|
committer | Richard Leitner <richard.leitner@skidata.com> | 2020-05-01 11:22:15 +0200 |
commit | bb51be580365078f8e572353f2430bbbf1790ce9 (patch) | |
tree | a7e764832c0ea3bb0a308fd4ab17b2b63dbc0275 | |
parent | 2044442bbc4849c2ca33b1402883cae95de757a2 (diff) | |
download | meta-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.inc | 3 |
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 |
29 | CFLAGS_append = " -Wno-error=stringop-overflow -Wno-error=return-type" | 29 | CFLAGS_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 | ||
32 | CFLAGS_append = " -fcommon" | ||
33 | |||
31 | inherit native java autotools pkgconfig | 34 | inherit native java autotools pkgconfig |
32 | inherit openjdk-build-helper | 35 | inherit openjdk-build-helper |
33 | inherit python3native | 36 | inherit python3native |