2013-05-16 14:13:05 +02:00
|
|
|
Index: commons-daemon-1.0.15-src/src/native/unix/configure
|
2013-03-26 15:08:47 +01:00
|
|
|
===================================================================
|
2013-05-16 14:13:05 +02:00
|
|
|
--- commons-daemon-1.0.15-src.orig/src/native/unix/configure
|
|
|
|
+++ commons-daemon-1.0.15-src/src/native/unix/configure
|
|
|
|
@@ -2705,6 +2705,10 @@ echo "$as_me: error: Unsupported operati
|
2013-03-26 15:08:47 +01:00
|
|
|
supported_os="arm"
|
2013-05-16 14:13:05 +02:00
|
|
|
HOST_CPU=arm
|
|
|
|
;;
|
2013-03-26 15:08:47 +01:00
|
|
|
+ aarch64)
|
|
|
|
+ CFLAGS="$CFLAGS -DCPU=\\\"aarch64\\\""
|
2013-05-16 14:13:05 +02:00
|
|
|
+ HOST_CPU=$host_cpu
|
|
|
|
+ ;;
|
2013-03-26 15:08:47 +01:00
|
|
|
*)
|
|
|
|
echo "$as_me:$LINENO: result: failed" >&5
|
|
|
|
echo "${ECHO_T}failed" >&6
|
2013-05-16 14:13:05 +02:00
|
|
|
Index: commons-daemon-1.0.15-src/src/native/unix/support/apsupport.m4
|
2013-03-26 15:08:47 +01:00
|
|
|
===================================================================
|
2013-05-16 14:13:05 +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
|
|
|
|
@@ -171,6 +171,10 @@ AC_DEFUN(AP_SUPPORTED_HOST,[
|
2013-03-26 15:08:47 +01:00
|
|
|
supported_os="arm"
|
2013-05-16 14:13:05 +02:00
|
|
|
HOST_CPU=arm
|
|
|
|
;;
|
2013-03-26 15:08:47 +01:00
|
|
|
+ aarch64)
|
|
|
|
+ CFLAGS="$CFLAGS -DCPU=\\\"aarch64\\\""
|
2013-05-16 14:13:05 +02:00
|
|
|
+ HOST_CPU=$host_cpu
|
|
|
|
+ ;;
|
2013-03-26 15:08:47 +01:00
|
|
|
*)
|
|
|
|
AC_MSG_RESULT([failed])
|
|
|
|
AC_MSG_ERROR([Unsupported CPU architecture "$host_cpu"]);;
|