diff options
author | André Draszik <andre.draszik@jci.com> | 2018-08-13 11:09:32 +0100 |
---|---|---|
committer | Richard Leitner <richard.leitner@skidata.com> | 2018-08-13 14:58:29 +0200 |
commit | 1471f1789e002b0381d0df9dec09581c2a9866b1 (patch) | |
tree | 6cb7b4afee8c367c684ce882e8ed4e5f84dc9f73 /recipes-core/openjdk/openjdk-8-release-16xbyy.inc | |
parent | 050229916257fdc57d887a67a57c2ab330051717 (diff) | |
download | meta-java-1471f1789e002b0381d0df9dec09581c2a9866b1.tar.gz |
openjdk-8: gcc-8 fix #1: backport patch to fix misuses of strncpy/strncat
The original approach doesn't work with all compilers, as
not all compilers support the flag used to suppress the
warnings / errors.
This patch here avoids passing unsupported compiler options
into older compilers, and at the same time fixes the bugs,
rather than just silencing the compiler.
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Diffstat (limited to 'recipes-core/openjdk/openjdk-8-release-16xbyy.inc')
-rw-r--r-- | recipes-core/openjdk/openjdk-8-release-16xbyy.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-core/openjdk/openjdk-8-release-16xbyy.inc b/recipes-core/openjdk/openjdk-8-release-16xbyy.inc index 36ce073..bd440c6 100644 --- a/recipes-core/openjdk/openjdk-8-release-16xbyy.inc +++ b/recipes-core/openjdk/openjdk-8-release-16xbyy.inc | |||
@@ -17,6 +17,7 @@ PATCHES_URI = "\ | |||
17 | file://0009-jdk-disable-backtrace-musl-build-fix.patch \ | 17 | file://0009-jdk-disable-backtrace-musl-build-fix.patch \ |
18 | file://0010-build-fix-build-on-as-needed-toolchains-generic.patch \ | 18 | file://0010-build-fix-build-on-as-needed-toolchains-generic.patch \ |
19 | file://hotspot_fix_gcc8x_build.patch \ | 19 | file://hotspot_fix_gcc8x_build.patch \ |
20 | file://0011-hotspot-backport-patch-to-fix-misuses-of-strncpy-str.patch \ | ||
20 | " | 21 | " |
21 | # some patches extracted from http://cr.openjdk.java.net/~rkennke/shark-build-hotspot/webrev.01/hotspot.patch | 22 | # some patches extracted from http://cr.openjdk.java.net/~rkennke/shark-build-hotspot/webrev.01/hotspot.patch |
22 | # reported via http://mail.openjdk.java.net/pipermail/build-dev/2015-January/013972.html | 23 | # reported via http://mail.openjdk.java.net/pipermail/build-dev/2015-January/013972.html |