SHA256
1
0
forked from pool/strace
strace/strace-ppc64le.patch
Dr. Werner Fink c70ba976df Accepting request 209428 from home:k0da:ppc64le
- 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
2013-12-04 20:06:43 +00:00

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
;;