travis.yml: Use clang++ in the Clang tests
commit6f83cf88f02a98e857b6cadd4b4e27401b901bba
authorThomas Huth <thuth@redhat.com>
Wed, 20 May 2020 14:05:29 +0000 (20 15:05 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 27 May 2020 13:26:47 +0000 (27 14:26 +0100)
tree43c9329a7ac28b37e30f31d4d132446b9aabd72a
parent92fecad3d3ed3cbfd0a6b4408bb80920de803dca
travis.yml: Use clang++ in the Clang tests

Our configure script does not look for clang++ automatically, so we
should use --cxx=clang++ to make sure that we test our C++ code with
Clang, too. And while we're at it, also use --host-cc=clang here
to avoid that we use the normal "cc" as host C compiler.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200518083316.25065-1-thuth@redhat.com>
Message-Id: <20200520140541.30256-4-alex.bennee@linaro.org>
.travis.yml