diff options
author | John Snow | 2015-11-12 17:29:49 +0100 |
---|---|---|
committer | Peter Maydell | 2015-11-12 17:53:44 +0100 |
commit | cfcc7c144879ebe61ac2472216314fc1331b4450 (patch) | |
tree | f6fdbb685bfa7aa612be54410b693913c61013e5 /configure | |
parent | target-arm: Update PC before calling gen_helper_check_breakpoints() (diff) | |
download | qemu-cfcc7c144879ebe61ac2472216314fc1331b4450.tar.gz qemu-cfcc7c144879ebe61ac2472216314fc1331b4450.tar.xz qemu-cfcc7c144879ebe61ac2472216314fc1331b4450.zip |
configure: check for $cxx before use
I broke this when adding checks for clang++.
Reported-by: Laurent Vivier <lvivier@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 1447345789-840-1-git-send-email-jsnow@redhat.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4435,7 +4435,8 @@ fi if test "$fortify_source" != "no"; then if echo | $cc -dM -E - | grep __clang__ > /dev/null 2>&1 ; then fortify_source="no"; - elif echo | $cxx -dM -E - | grep __clang__ > /dev/null 2>&1 ; then + elif test -n "$cxx" && + echo | $cxx -dM -E - | grep __clang__ >/dev/null 2>&1 ; then fortify_source="no"; else fortify_source="yes" |