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
This commit is contained in:
Max Horn 2010-04-09 14:13:37 +00:00
parent 92817e84ca
commit a1fde3a03f

4
configure vendored
View File

@ -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"