diff options
| author | Jacob Kroon <jacob.kroon@gmail.com> | 2020-04-30 15:15:55 +0200 |
|---|---|---|
| committer | Richard Leitner <richard.leitner@skidata.com> | 2020-08-17 13:24:19 +0200 |
| commit | 0670db2eab4cd60182e994da87749372daf0d585 (patch) | |
| tree | 27206935e95adece83620a0f0820a1aeb2c8aff2 | |
| parent | 50b338fc3ec6c437f590ba83f6d051277ed261c6 (diff) | |
| download | meta-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.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 |
