forked from pool/strace
c70ba976df
- Make ppc64le architecture known /usr/bin/osc - added patches: * strace-ppc64le.patch OBS-URL: https://build.opensuse.org/request/show/209428 OBS-URL: https://build.opensuse.org/package/show/devel:tools/strace?expand=0&rev=33
27 lines
855 B
Diff
27 lines
855 B
Diff
Index: strace-4.8/configure
|
|
===================================================================
|
|
--- strace-4.8.orig/configure
|
|
+++ strace-4.8/configure
|
|
@@ -4660,7 +4660,7 @@ powerpc*)
|
|
|
|
$as_echo "#define POWERPC 1" >>confdefs.h
|
|
|
|
- if test $host_cpu = powerpc64; then
|
|
+ if test $host_cpu = powerpc64 || test $host_cpu = powerpc64le ; then
|
|
|
|
$as_echo "#define POWERPC64 1" >>confdefs.h
|
|
|
|
Index: strace-4.8/configure.ac
|
|
===================================================================
|
|
--- strace-4.8.orig/configure.ac
|
|
+++ strace-4.8/configure.ac
|
|
@@ -54,7 +54,7 @@ alpha*)
|
|
powerpc*)
|
|
arch=powerpc
|
|
AC_DEFINE([POWERPC], 1, [Define for the PowerPC architecture.])
|
|
- if test $host_cpu = powerpc64; then
|
|
+ if test $host_cpu = powerpc64 || test $host_cpu = powerpc64le; then
|
|
AC_DEFINE([POWERPC64], 1, [Define for the PowerPC64 architecture.])
|
|
fi
|
|
;;
|