aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorBastien Bouclet2019-05-11 17:23:09 +0200
committerBastien Bouclet2019-05-11 17:23:09 +0200
commit0b4acfeed04f741ac0faaebdea976e52243ef618 (patch)
treeba83ea1004e3d4902dfd38093c2488b81788a541 /configure
parent3a25a3c926243c7e93857f9edcb1b84d45b8caa0 (diff)
downloadscummvm-rg350-0b4acfeed04f741ac0faaebdea976e52243ef618.tar.gz
scummvm-rg350-0b4acfeed04f741ac0faaebdea976e52243ef618.tar.bz2
scummvm-rg350-0b4acfeed04f741ac0faaebdea976e52243ef618.zip
BUILD: Pass LDFLAGS on the command line for the endianness test
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index b80e4f1cb4..a1723384bb 100755
--- a/configure
+++ b/configure
@@ -2251,7 +2251,7 @@ 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 -o $TMPO$HOSTEXEEXT tmp_endianness_check.cpp
+$CXX $LDFLAGS $CXXFLAGS -o $TMPO$HOSTEXEEXT tmp_endianness_check.cpp
if $_strings $TMPO$HOSTEXEEXT | grep BIGenDianSyS >/dev/null; then
_endian=big
elif $_strings $TMPO$HOSTEXEEXT | grep LiTTleEnDian >/dev/null; then