blob: 501a1f1d9bf84d18ffa9f54c94f3242254860eae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/configure b/configure
index c6789d5..2ff3621 100755
--- a/configure
+++ b/configure
@@ -3602,7 +3602,7 @@ EOF
check_cc <<EOF || die "endian test failed"
unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E';
EOF
-od -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian
+/usr/bin/tr -cd "BIGE" < $TMPO | grep -q 'B *I *G *E' && enable bigendian
check_inline_asm inline_asm_labels '"1:\n"'
|