From 12329a58e17a837072e20a64bf3ec6a84e38cc8f Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 21 Dec 2010 03:45:21 +0000 Subject: * configure.in (target_archs): remove temporary objects. * enc/Makefile.in, enc/depend (clean): remove work directories. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 63a88bc3f7..3a1999c78c 100644 --- a/configure.in +++ b/configure.in @@ -194,8 +194,8 @@ if test ${target_archs+set}; then else if test x"$target_cpu" != x"${target_archs}"; then echo 'int main(){return 0;}' > conftest.c - if $CC $CFLAGS $ARCH_FLAG conftest.c > /dev/null 2>&1; then - rm -f conftest.* a.out + if $CC $CFLAGS $ARCH_FLAG -o conftest conftest.c > /dev/null 2>&1; then + rm -fr conftest.* else RUBY_DEFAULT_ARCH("$target_archs") fi -- cgit v1.2.1