Lines 152-158
Link Here
|
152 |
AC_DEFUN([RUBY_UNIVERSAL_ARCH], [ |
152 |
AC_DEFUN([RUBY_UNIVERSAL_ARCH], [ |
153 |
# RUBY_UNIVERSAL_ARCH begin |
153 |
# RUBY_UNIVERSAL_ARCH begin |
154 |
test ${CFLAGS+set} && CFLAGS=`echo "$CFLAGS" | sed -e 's/ *-arch *[^ ]*//g' -e 's/ *-m32//g' -e 's/ *-m64//g'` |
154 |
test ${CFLAGS+set} && CFLAGS=`echo "$CFLAGS" | sed -e 's/ *-arch *[^ ]*//g' -e 's/ *-m32//g' -e 's/ *-m64//g'` |
155 |
test ${LDFLAGS+set} && LDFLAGS=`echo "$LDFLAGS" | sed 's/ *-arch *[^ ]*//g' -e 's/ *-m32//g' -e 's/ *-m64//g'` |
155 |
test ${LDFLAGS+set} && LDFLAGS=`echo "$LDFLAGS" | sed -e 's/ *-arch *[^ ]*//g' -e 's/ *-m32//g' -e 's/ *-m64//g'` |
156 |
unset ARCH_FLAG universal_binary universal_archnames |
156 |
unset ARCH_FLAG universal_binary universal_archnames |
157 |
if test ${target_archs+set}; then |
157 |
if test ${target_archs+set}; then |
158 |
AC_MSG_CHECKING([target architectures]) |
158 |
AC_MSG_CHECKING([target architectures]) |