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

12 lines
373 B
Diff
Raw Normal View History

2010-07-26 19:14:51 +00:00
--- ruby-1.8.7-p299/configure.in.orig 2010-06-24 16:09:00.000000000 -0400
+++ ruby-1.8.7-p299/configure.in 2010-06-24 16:09:13.000000000 -0400
@@ -1802,6 +1802,8 @@ AC_SUBST(vendordir)dnl
configure_args=$ac_configure_args
AC_SUBST(configure_args)dnl
+target_cpu=`echo $target_cpu | sed s/i.86/i386/`
+
if test "$fat_binary" != no ; then
arch="fat-${target_os}"