aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2010-04-09 14:13:37 +0000
committerMax Horn2010-04-09 14:13:37 +0000
commita1fde3a03fdec6c0ceaf4fd664609c5b2f45c7a9 (patch)
tree52dc0ee1453e1968330a6128dce655e2907f53c5
parent92817e84ca5cc79ea15d652317d976d141935993 (diff)
downloadscummvm-rg350-a1fde3a03fdec6c0ceaf4fd664609c5b2f45c7a9.tar.gz
scummvm-rg350-a1fde3a03fdec6c0ceaf4fd664609c5b2f45c7a9.tar.bz2
scummvm-rg350-a1fde3a03fdec6c0ceaf4fd664609c5b2f45c7a9.zip
Trying to fix cc_check_define breakage for cross platform builds which *require* a non-trivial LDFLAGS & CXXFLAGS; applying same fix to the memalign test code
svn-id: r48600
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index c7b55f257f..96439da5c2 100755
--- a/configure
+++ b/configure
@@ -199,7 +199,7 @@ int main(void) {
return 0;
}
EOF
- cc_check
+ cc_check $LDFLAGS $CXXFLAGS
return $?
}
@@ -1640,7 +1640,7 @@ int main(int argc, char **argv) {
}
EOF
_need_memalign=yes
- cc_check && $TMPO$HOSTEXEEXT && _need_memalign=no
+ cc_check $LDFLAGS $CXXFLAGS && $TMPO$HOSTEXEEXT && _need_memalign=no
;;
esac
echo "$_need_memalign"