patch against configure.ac
authorMike Frysinger <vapier@gentoo.org>
Sun, 20 Nov 2005 07:33:51 +0000 (07:33 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sun, 20 Nov 2005 07:33:51 +0000 (07:33 +0000)
dev-util/strace/files/strace-4.5.12-superh-update.patch [new file with mode: 0644]

diff --git a/dev-util/strace/files/strace-4.5.12-superh-update.patch b/dev-util/strace/files/strace-4.5.12-superh-update.patch
new file mode 100644 (file)
index 0000000..d402997
--- /dev/null
@@ -0,0 +1,24 @@
+Fix configure script to work with targets like 'sh4-unknown-linux-gnu'
+
+--- configure.ac
++++ configure.ac
+@@ -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)
++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.])