diff options
author | André Draszik <andre.draszik@jci.com> | 2018-03-06 11:01:53 +0200 |
---|---|---|
committer | Maxin B. John <maxin.john@intel.com> | 2018-03-06 11:03:09 +0200 |
commit | 3668ba76f44bc778ba4446236088c22948a644d0 (patch) | |
tree | cc3291774f0e41350f22a1e5e0196e08f14500a3 /recipes-core/openjdk/openjdk-8-release-162b12.inc | |
parent | f8be3065f7c5dbd73516394c0bcd2c7ba1777abf (diff) | |
download | meta-java-3668ba76f44bc778ba4446236088c22948a644d0.tar.gz |
openjdk-8: fix musl build
Add various patches to make it work in musl. Some of them are generic
enough to be applied for all builds, some need to be specific to musl.
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Diffstat (limited to 'recipes-core/openjdk/openjdk-8-release-162b12.inc')
-rw-r--r-- | recipes-core/openjdk/openjdk-8-release-162b12.inc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes-core/openjdk/openjdk-8-release-162b12.inc b/recipes-core/openjdk/openjdk-8-release-162b12.inc index d672148..dc1e023 100644 --- a/recipes-core/openjdk/openjdk-8-release-162b12.inc +++ b/recipes-core/openjdk/openjdk-8-release-162b12.inc | |||
@@ -10,6 +10,11 @@ PATCHES_URI = "\ | |||
10 | file://0002-hotspot-fix-compilation-with-security-flags-enabled.patch \ | 10 | file://0002-hotspot-fix-compilation-with-security-flags-enabled.patch \ |
11 | file://0003-jdk-Allow-using-a-system-installed-libjpeg.patch \ | 11 | file://0003-jdk-Allow-using-a-system-installed-libjpeg.patch \ |
12 | file://0004-jdk-Allow-using-a-system-installed-libpng.patch \ | 12 | file://0004-jdk-Allow-using-a-system-installed-libpng.patch \ |
13 | file://0005-hotspot-use-correct-include-for-poll.patch \ | ||
14 | file://0006-hotspot-don-t-rely-on-old-SysV-SIGCLD.patch \ | ||
15 | file://0007-jdk-use-correct-include-for-poll.patch \ | ||
16 | file://0008-jdk-use-correct-include-for-signal.patch \ | ||
17 | file://0009-jdk-disable-backtrace-musl-build-fix.patch \ | ||
13 | " | 18 | " |
14 | # some patches extracted from http://cr.openjdk.java.net/~rkennke/shark-build-hotspot/webrev.01/hotspot.patch | 19 | # some patches extracted from http://cr.openjdk.java.net/~rkennke/shark-build-hotspot/webrev.01/hotspot.patch |
15 | # reported via http://mail.openjdk.java.net/pipermail/build-dev/2015-January/013972.html | 20 | # reported via http://mail.openjdk.java.net/pipermail/build-dev/2015-January/013972.html |
@@ -23,6 +28,17 @@ PATCHES_URI_append_class-target = "\ | |||
23 | file://openjdk8-add-missing-linker-flags.patch;striplevel=0 \ | 28 | file://openjdk8-add-missing-linker-flags.patch;striplevel=0 \ |
24 | file://openjdk8-fix-libpng-neon-build.patch;striplevel=0 \ | 29 | file://openjdk8-fix-libpng-neon-build.patch;striplevel=0 \ |
25 | " | 30 | " |
31 | PATCHES_URI_append_libc-musl = "\ | ||
32 | file://musl-0001-hotspot-stop-using-obsolete-isnanf.patch \ | ||
33 | file://musl-0002-jdk-give-a-much-bigger-buffer-to-getmntent_r.patch \ | ||
34 | file://musl-0003-jdk-fix-libjvm-load-on-musl-set-LD_LIBRARY_PATH.patch \ | ||
35 | file://musl-0004-jdk-remove-sysctl.h-include-musl-build-fix.patch \ | ||
36 | file://musl-0005-hotspot-disable-agent-build.patch \ | ||
37 | file://musl-0006-hotspot-os_linux-remove-glibc-dependencies.patch \ | ||
38 | file://musl-0007-hotspot-os_linux_x86-remove-glibc-dependencies-fpu_c.patch \ | ||
39 | file://musl-0008-jdk-musl-build-fix-use-SIGRTMAX-rather-than-__SIGRTM.patch \ | ||
40 | file://musl-0009-jdk-musl-has-gethostby_r.patch \ | ||
41 | " | ||
26 | 42 | ||
27 | # Name of the directory containing the compiled output | 43 | # Name of the directory containing the compiled output |
28 | BUILD_DIR = "openjdk.build" | 44 | BUILD_DIR = "openjdk.build" |