Line
Link Here
|
0 |
-- x264-snapshot-20170701-2245/configure |
0 |
++ x264-snapshot-20170701-2245/configure |
Lines 962-968
Link Here
|
962 |
CPU_ENDIAN="little-endian" |
962 |
CPU_ENDIAN="little-endian" |
963 |
if [ $compiler = GNU ]; then |
963 |
if [ $compiler = GNU ]; then |
964 |
echo "int i[2] = {0x42494745,0}; double f[2] = {0x1.0656e6469616ep+102,0};" > conftest.c |
964 |
echo "int i[2] = {0x42494745,0}; double f[2] = {0x1.0656e6469616ep+102,0};" > conftest.c |
965 |
$CC $CFLAGS conftest.c -c -o conftest.o 2>/dev/null || die "endian test failed" |
965 |
$CC $CFLAGS -fno-lto conftest.c -c -o conftest.o 2>/dev/null || die "endian test failed" |
966 |
if (${cross_prefix}strings -a conftest.o | grep -q BIGE) && (${cross_prefix}strings -a conftest.o | grep -q FPendian) ; then |
966 |
if (${cross_prefix}strings -a conftest.o | grep -q BIGE) && (${cross_prefix}strings -a conftest.o | grep -q FPendian) ; then |
967 |
define WORDS_BIGENDIAN |
967 |
define WORDS_BIGENDIAN |
968 |
CPU_ENDIAN="big-endian" |
968 |
CPU_ENDIAN="big-endian" |