blob: cde82ffafb53d316003fdff7fb532ea2d659df58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff --git a/build/linux/configure b/build/linux/configure
index 17e512e..8022aa9 100755
--- a/build/linux/configure
+++ b/build/linux/configure
@@ -923,7 +923,7 @@ 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"
+ $CC $CFLAGS -fno-lto 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
define WORDS_BIGENDIAN
CPU_ENDIAN="big-endian"
|