aports/testing/openjdk22/riscv64.patch
2024-04-26 00:04:52 +00:00

17 lines
482 B
Diff

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_riscv/os_linux_riscv.cpp
+++ new/src/hotspot/os_cpu/linux_riscv/os_linux_riscv.cpp
@@ -56,7 +56,6 @@
// put OS-includes here
# include <dlfcn.h>
-# include <fpu_control.h>
# include <errno.h>
# include <pthread.h>
# include <signal.h>