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

17 lines
534 B
Diff

Index: commons-daemon-1.0.10-src/src/native/unix/configure
===================================================================
--- commons-daemon-1.0.10-src.orig/src/native/unix/configure
+++ commons-daemon-1.0.10-src/src/native/unix/configure
@@ -2607,7 +2607,10 @@ echo "$as_me: error: Unsupported operati
;;
esac
case $host_cpu in
- powerpc)
+ powerpc*)
+ CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\""
+ HOST_CPU=$host_cpu;;
+ ppc*)
CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\""
HOST_CPU=$host_cpu;;
sparc*)