1
0
apache-commons-daemon/apache-commons-daemon-riscv64.patch

14 lines
432 B
Diff
Raw Normal View History

--- commons-daemon-1.2.2-src.orig/src/native/unix/support/apsupport.m4
+++ commons-daemon-1.2.2-src/src/native/unix/support/apsupport.m4
@@ -192,6 +192,10 @@ AC_DEFUN(AP_SUPPORTED_HOST,[
supported_os="aarch64"
HOST_CPU=aarch64
;;
+ riscv64)
+ CFLAGS="$CFLAGS -DCPU=\\\"riscv64\\\""
+ HOST_CPU=$host_cpu
+ ;;
*)
AC_MSG_RESULT([failed])
AC_MSG_ERROR([Unsupported CPU architecture "$host_cpu"]);;