crosstool-ng/patches/strace/4.5.15/160-superh-update.ac.patch

23 lines
634 B
Diff

diff -dur strace-4.5.15.orig/configure.ac strace-4.5.15/configure.ac
--- strace-4.5.15.orig/configure.ac 2007-07-14 19:25:25.000000000 +0200
+++ strace-4.5.15/configure.ac 2007-07-14 19:27:35.000000000 +0200
@@ -91,14 +91,14 @@
arch=hppa
AC_DEFINE([HPPA], 1, [Define for the HPPA architecture.])
;;
-sh)
- arch=sh
- AC_DEFINE([SH], 1, [Define for the SH architecture.])
- ;;
sh64)
arch=sh64
AC_DEFINE([SH64], 1, [Define for the SH64 architecture.])
;;
+sh*)
+ arch=sh
+ AC_DEFINE([SH], 1, [Define for the SH architecture.])
+ ;;
x86?64*)
arch=x86_64
AC_DEFINE([X86_64], 1, [Define for the AMD x86-64 architecture.])