--- org/configure 2015-10-13 10:40:24.511323045 +0100 +++ new/configure 2015-10-13 10:42:14.040938354 +0100 @@ -892,11 +892,11 @@ CPU_ENDIAN="little-endian" if [ $compiler = GNU ]; then echo "int i[2] = {0x42494745,0}; double f[2] = {0x1.0656e6469616ep+102,0};" > conftest.c - $CC $CFLAGS conftest.c -c -o conftest.o 2>/dev/null || die "endian test failed" - if (${cross_prefix}strings -a conftest.o | grep -q BIGE) && (${cross_prefix}strings -a conftest.o | grep -q FPendian) ; then + $CC $CFLAGS conftest.c -o conftest -shared 2>/dev/null || die "endian test failed" + if (${cross_prefix}strings -a conftest | grep -q BIGE) && (${cross_prefix}strings -a conftest | grep -q FPendian) ; then define WORDS_BIGENDIAN CPU_ENDIAN="big-endian" - elif !(${cross_prefix}strings -a conftest.o | grep -q EGIB && ${cross_prefix}strings -a conftest.o | grep -q naidnePF) ; then + elif !(${cross_prefix}strings -a conftest | grep -q EGIB && ${cross_prefix}strings -a conftest | grep -q naidnePF) ; then die "endian test failed" fi fi