summaryrefslogtreecommitdiff
path: root/user/openjdk11/aarch64.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/openjdk11/aarch64.patch')
-rw-r--r--user/openjdk11/aarch64.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/user/openjdk11/aarch64.patch b/user/openjdk11/aarch64.patch
new file mode 100644
index 000000000..3f088dd9c
--- /dev/null
+++ b/user/openjdk11/aarch64.patch
@@ -0,0 +1,17 @@
+Subject: Remove fpu_control.h include
+Upstream: No
+Author: Simon Frankenberger <simon-alpine@fraho.eu>
+
+The header is not present with musl and including it results in build error.
+It's not needed anyways.
+
+--- old/src/hotspot/os_cpu/linux_aarch64/os_linux_aarch64.cpp
++++ new/src/hotspot/os_cpu/linux_aarch64/os_linux_aarch64.cpp
+@@ -74,7 +74,6 @@
+ # include <pwd.h>
+ # include <poll.h>
+ # include <ucontext.h>
+-# include <fpu_control.h>
+
+ #define REG_FP 29
+ #define REG_LR 30