summaryrefslogtreecommitdiffstats
path: root/contrib/ffmpeg/P01-solaris.patch
blob: b979079413bc95482c28ec24820a557e72fa5d76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/configure b/configure
index 5355300..5ac7bc0 100755
--- a/configure
+++ b/configure
@@ -3146,7 +3146,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
 
 if enabled alpha; then