blob: 1bd3f9f399dca2a60b18d7ef325c53b0f43ed682 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
Fix build without native symlinks
https://bugs.gentoo.org/744424
--- a/configure
+++ b/configure
@@ -1026,9 +1026,9 @@ void _ebcdic() { char* s = (char*) ebcdi
int main() { _ascii (); _ebcdic (); return 0; }
EOF
$CXX $CXXFLAGS -c -o $TMPO.o tmp_endianness_check.cpp
-if strings $TMPO.o | grep BIGenDianSyS >/dev/null; then
+if ${STRINGS} $TMPO.o | grep BIGenDianSyS >/dev/null; then
_endian=big
-elif strings $TMPO.o | grep LiTTleEnDian >/dev/null; then
+elif ${STRINGS} $TMPO.o | grep LiTTleEnDian >/dev/null; then
_endian=little
fi
echo $_endian;
|