ruby/ruby-1.9.3-always-use-i386.patch

26 lines
720 B
Diff
Raw Normal View History

2013-02-08 23:54:37 +00:00
From 796aa193a0e01f3035361f045ac66486d71f608a Mon Sep 17 00:00:00 2001
2012-11-19 13:38:30 +00:00
From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <vondruch@redhat.com>
Date: Mon, 19 Nov 2012 14:37:28 +0100
Subject: [PATCH] Always use i386.
---
configure.in | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configure.in b/configure.in
2013-02-08 23:54:37 +00:00
index 418b0cb..d26fe5b 100644
2012-11-19 13:38:30 +00:00
--- a/configure.in
+++ b/configure.in
2013-02-21 13:36:05 +00:00
@@ -3362,6 +3362,8 @@ AC_SUBST(vendorarchdir)dnl
2012-01-18 14:54:01 +00:00
configure_args=$ac_configure_args
AC_SUBST(configure_args)dnl
+target_cpu=`echo $target_cpu | sed s/i.86/i386/`
+
if test "${universal_binary-no}" = yes ; then
arch="universal-${target_os}"
AC_CACHE_CHECK(whether __ARCHITECTURE__ is available, rb_cv_architecture_available,
2012-11-19 13:38:30 +00:00
--
2013-02-08 23:54:37 +00:00
1.8.1
2012-11-19 13:38:30 +00:00