[Scummvm-git-logs] scummvm master -> 3a25a3c926243c7e93857f9edcb1b84d45b8caa0
bgK
bastien.bouclet at gmail.com
Sat May 11 16:57:00 CEST 2019
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
3a25a3c926 BUILD: Link the test executable for the endianness check
Commit: 3a25a3c926243c7e93857f9edcb1b84d45b8caa0
https://github.com/scummvm/scummvm/commit/3a25a3c926243c7e93857f9edcb1b84d45b8caa0
Author: Bastien Bouclet (bastien.bouclet at gmail.com)
Date: 2019-05-11T16:51:13+02:00
Commit Message:
BUILD: Link the test executable for the endianness check
Fixes the test with LTO enabled.
Changed paths:
configure
diff --git a/configure b/configure
index ef4c956..b80e4f1 100755
--- a/configure
+++ b/configure
@@ -2251,14 +2251,14 @@ unsigned short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0
void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
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
+$CXX $CXXFLAGS -o $TMPO$HOSTEXEEXT tmp_endianness_check.cpp
+if $_strings $TMPO$HOSTEXEEXT | grep BIGenDianSyS >/dev/null; then
_endian=big
-elif $_strings $TMPO.o | grep LiTTleEnDian >/dev/null; then
+elif $_strings $TMPO$HOSTEXEEXT | grep LiTTleEnDian >/dev/null; then
_endian=little
fi
echo $_endian;
-cc_check_clean tmp_endianness_check.cpp
+cc_check_clean tmp_endianness_check.cpp tmp_endianness_check.dwo
case $_endian in
big)
More information about the Scummvm-git-logs
mailing list