ruby/ruby-always-use-i386.patch
Mamoru Tasaka 01a3f0d013 - Again use -O2 optimization level
- i586 should search i386-linux directory
2009-03-15 17:46:10 +00:00

12 lines
350 B
Diff

--- ruby-1.8.6-p287/configure.in.i386 2009-03-16 00:55:15.000000000 +0900
+++ ruby-1.8.6-p287/configure.in 2009-03-16 01:42:41.000000000 +0900
@@ -1662,6 +1662,8 @@
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}"