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

23 lines
759 B
Diff
Raw Normal View History

2013-10-07 10:30:18 +00:00
From 2089cab72b38d6d5e7ba2b596e41014209acad30 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.
---
2018-01-03 11:06:40 +00:00
configure.ac | 2 ++
2012-11-19 13:38:30 +00:00
1 file changed, 2 insertions(+)
2018-01-03 11:06:40 +00:00
diff --git a/configure.ac b/configure.ac
index 3c13076b82..93af30321d 100644
2018-01-03 11:06:40 +00:00
--- a/configure.ac
+++ b/configure.ac
@@ -4376,6 +4376,8 @@ AC_SUBST(vendorarchdir)dnl
2016-01-05 09:58:10 +00:00
AC_SUBST(CONFIGURE, "`echo $0 | sed 's|.*/||'`")dnl
2013-10-07 10:30:18 +00:00
AC_SUBST(configure_args, "`echo "${ac_configure_args}" | sed 's/\\$/$$/g'`")dnl
2012-01-18 14:54:01 +00:00
+target_cpu=`echo $target_cpu | sed s/i.86/i386/`
+
2018-01-03 11:06:40 +00:00
AS_IF([test "${universal_binary-no}" = yes ], [
2012-01-18 14:54:01 +00:00
arch="universal-${target_os}"
2018-01-03 11:06:40 +00:00
AS_IF([test "${rb_cv_architecture_available}" = yes], [