Files
macports-ports/lang/ruby/files/patch-configure.diff
Wataru Kimura 9a56545756 lang/ruby: allow build with clang (Xcode 4.2 or later).
passed `make test-all' on these environment.
    - Mac OS X 10.8GM, Xcode 4.4GM
    - Mac OS X 10.7.4, Xcode 4.3.3
    - Mac OS X 10.7.4, Xcode 4.2.1
    - Mac OS X 10.6.8, Xcode 3.2.6 (use gcc)

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@95753 d073be05-634f-4543-b044-5fe20cf6d1d6
2012-07-21 09:40:29 +00:00

20 lines
587 B
Diff

--- configure.orig 2012-06-29 22:18:24.000000000 +0900
+++ configure 2012-07-21 16:32:51.000000000 +0900
@@ -2722,6 +2722,7 @@
case $target_cpu in
i?86) frame_address=yes;;
+ x86_64) frame_address=yes;;
*) frame_address=no;;
esac
# Check whether --enable-frame-address was given.
@@ -9843,7 +9844,7 @@
fi
case "$target_cpu" in
-m68*|i?86|ia64|sparc*|alpha*) rb_cv_stack_grow_dir=-1;;
+m68*|i?86|x86_64|ia64|sparc*|alpha*) rb_cv_stack_grow_dir=-1;;
hppa*) rb_cv_stack_grow_dir=+1;;
esac
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack growing direction" >&5