diff -ruN commons-daemon-1.3.2-src_back/src/native/unix/support/apsupport.m4 commons-daemon-1.3.2-src/src/native/unix/support/apsupport.m4 --- commons-daemon-1.3.2-src_back/src/native/unix/support/apsupport.m4 2022-11-13 23:55:12.531213500 +0800 +++ commons-daemon-1.3.2-src/src/native/unix/support/apsupport.m4 2022-11-14 00:02:13.016089643 +0800 @@ -93,8 +93,16 @@ HOST_CPU=ppc64le ;; powerpc*) - CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\"" - HOST_CPU=$host_cpu + CFLAGS="$CFLAGS -DCPU=\\\"ppc\\\"" + HOST_CPU=ppc + ;; + powerpc64) + CFLAGS="$CFLAGS -DCPU=\\\"ppc64\\\"" + HOST_CPU=ppc64 + ;; + powerpc64le) + CFLAGS="$CFLAGS -DCPU=\\\"ppc64le\\\"" + HOST_CPU=ppc64le ;; sparc*) CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\""