Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 497714 | Differences between
and this patch

Collapse All | Expand All

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

Return to bug 497714