2020-06-09 07:29:07 +00:00
|
|
|
--- 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
|
2018-07-13 17:57:10 +00:00
|
|
|
;;
|
|
|
|
+ riscv64)
|
|
|
|
+ CFLAGS="$CFLAGS -DCPU=\\\"riscv64\\\""
|
|
|
|
+ HOST_CPU=$host_cpu
|
|
|
|
+ ;;
|
|
|
|
*)
|
|
|
|
AC_MSG_RESULT([failed])
|
|
|
|
AC_MSG_ERROR([Unsupported CPU architecture "$host_cpu"]);;
|