diff options
author | Chris Meyer <cmeyer1969@gmail.com> | 2011-11-07 13:15:14 -0800 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-08 01:13:40 +0100 |
commit | d7208aa0c63bf4492776335d4d6fce8ffb9327de (patch) | |
tree | db2845836f74cac00004fe2d3c877fc001590672 /config.tests | |
parent | a05270f435483937e76d18fa6e512dc0394507d1 (diff) |
Added '-' parameter to fix strings command using gcc-llvm on Mac OS 10.6 w/ Xcode 4.2.
Change-Id: Ib44c17c92fd67e8ffe3f34fa9c6014d8f0d861a8
Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
Diffstat (limited to 'config.tests')
-rwxr-xr-x | config.tests/unix/endian.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config.tests/unix/endian.test b/config.tests/unix/endian.test index d0fb6ce785..74a87327df 100755 --- a/config.tests/unix/endian.test +++ b/config.tests/unix/endian.test @@ -31,10 +31,10 @@ else exit 2 fi -if strings $binary | grep LeastSignificantByteFirst >/dev/null 2>&1; then +if strings - $binary | grep LeastSignificantByteFirst >/dev/null 2>&1; then [ "$VERBOSE" = "yes" ] && echo " Found 'LeastSignificantByteFirst' in binary" ENDIAN="LITTLE" -elif strings $binary | grep MostSignificantByteFirst >/dev/null 2>&1; then +elif strings - $binary | grep MostSignificantByteFirst >/dev/null 2>&1; then [ "$VERBOSE" = "yes" ] && echo " Found 'MostSignificantByteFirst' in binary" ENDIAN="BIG" fi |