diff --git a/configure b/configure
index c584694761a00860ee61d1a28b5f18f85f8f18cf..e244e4899a55f988c2b813e5076dd37149d7a5cd 100755
--- a/configure
+++ b/configure
@@ -1508,7 +1508,7 @@ EOF
 check_cc <<EOF || die "endian test failed"
 unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E';
 EOF
-strings - $TMPO | grep -q BIGE && enable bigendian
+strings -a $TMPO | grep -q BIGE && enable bigendian
 
 # ---
 # check availability of some header files