2020-06-09 07:26:03 +02:00
|
|
|
Index: commons-daemon-1.0.15-src/src/native/unix/configure
|
2018-07-13 19:57:10 +02:00
|
|
|
===================================================================
|
2020-06-09 07:26:03 +02:00
|
|
|
--- commons-daemon-1.0.15-src.orig/src/native/unix/configure
|
|
|
|
+++ commons-daemon-1.0.15-src/src/native/unix/configure
|
|
|
|
@@ -2709,6 +2709,10 @@ echo "$as_me: error: Unsupported operati
|
|
|
|
CFLAGS="$CFLAGS -DCPU=\\\"aarch64\\\""
|
|
|
|
HOST_CPU=$host_cpu
|
2018-07-13 19:57:10 +02:00
|
|
|
;;
|
|
|
|
+ riscv64)
|
|
|
|
+ CFLAGS="$CFLAGS -DCPU=\\\"riscv64\\\""
|
|
|
|
+ HOST_CPU=$host_cpu
|
|
|
|
+ ;;
|
|
|
|
*)
|
2020-06-09 07:26:03 +02:00
|
|
|
echo "$as_me:$LINENO: result: failed" >&5
|
|
|
|
echo "${ECHO_T}failed" >&6
|
|
|
|
Index: commons-daemon-1.0.15-src/src/native/unix/support/apsupport.m4
|
2018-07-13 19:57:10 +02:00
|
|
|
===================================================================
|
2020-06-09 07:26:03 +02:00
|
|
|
--- commons-daemon-1.0.15-src.orig/src/native/unix/support/apsupport.m4
|
|
|
|
+++ commons-daemon-1.0.15-src/src/native/unix/support/apsupport.m4
|
|
|
|
@@ -175,6 +175,10 @@ AC_DEFUN(AP_SUPPORTED_HOST,[
|
|
|
|
CFLAGS="$CFLAGS -DCPU=\\\"aarch64\\\""
|
|
|
|
HOST_CPU=$host_cpu
|
2018-07-13 19:57:10 +02:00
|
|
|
;;
|
|
|
|
+ riscv64)
|
|
|
|
+ CFLAGS="$CFLAGS -DCPU=\\\"riscv64\\\""
|
|
|
|
+ HOST_CPU=$host_cpu
|
|
|
|
+ ;;
|
|
|
|
*)
|
|
|
|
AC_MSG_RESULT([failed])
|
|
|
|
AC_MSG_ERROR([Unsupported CPU architecture "$host_cpu"]);;
|