aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2014-02-20 15:10:16 +0000
committerPeter Maydell <peter.maydell@linaro.org>2014-02-24 14:53:27 +0000
commit98b21dcdb331798709edafcd65b5b7a1e07302db (patch)
tree20a6c1c767dae0e6bf36709a16edce2c9c870e09 /Makefile
parent105a060188dc6fdd4551571a966514d1a5f6815a (diff)
downloadqemu-98b21dcdb331798709edafcd65b5b7a1e07302db.zip
qemu-98b21dcdb331798709edafcd65b5b7a1e07302db.tar.gz
qemu-98b21dcdb331798709edafcd65b5b7a1e07302db.tar.bz2
configure: check that C++ compiler actually works
Check that the C++ compiler works with the C compiler; if it does not, then don't pass CXX to the build process. This fixes a regression where QEMU was no longer building if the build environment didn't have a C++ compiler (introduced in commit 3144f78b, which incorrectly assumed that rules.mak would only see a non-empty $(CXX) if configure had actually found a working C++ compiler). Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reported-by: Alexey Kardashevskiy <aik@ozlabs.ru> Reported-by: Thomas Huth <thuth@linux.vnet.ibm.com> Tested-by: Thomas Huth <thuth@linux.vnet.ibm.com> Tested-by: Alexey Kardashevskiy <aik@ozlabs.ru> Message-id: 1392909016-14028-1-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions