Blame SOURCES/ruby-2.1.0-always-use-i386.patch

a54e24
From 2089cab72b38d6d5e7ba2b596e41014209acad30 Mon Sep 17 00:00:00 2001
a54e24
From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <vondruch@redhat.com>
a54e24
Date: Mon, 19 Nov 2012 14:37:28 +0100
a54e24
Subject: [PATCH] Always use i386.
a54e24
a54e24
---
a54e24
 configure.ac | 2 ++
a54e24
 1 file changed, 2 insertions(+)
a54e24
a54e24
diff --git a/configure.ac b/configure.ac
a54e24
index b77e88fc37..6bba453e3c 100644
a54e24
--- a/configure.ac
a54e24
+++ b/configure.ac
a54e24
@@ -3774,6 +3774,8 @@ AC_SUBST(vendorarchdir)dnl
a54e24
 AC_SUBST(CONFIGURE, "`echo $0 | sed 's|.*/||'`")dnl
a54e24
 AC_SUBST(configure_args, "`echo "${ac_configure_args}" | sed 's/\\$/$$/g'`")dnl
a54e24
 
a54e24
+target_cpu=`echo $target_cpu | sed s/i.86/i386/`
a54e24
+
a54e24
 AS_IF([test "${universal_binary-no}" = yes ], [
a54e24
     arch="universal-${target_os}"
a54e24
     AS_IF([test "${rb_cv_architecture_available}" = yes], [
a54e24
-- 
a54e24
1.8.3.1
a54e24