From cff0f5dacc192eb9ce462bf83d574e7280a3ac36 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Mon, 4 Sep 2017 06:00:01 +0000 Subject: [PATCH] use the gcc variable to configure coverity --- debian/rules | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/debian/rules b/debian/rules index 5ab05179..1ce723c7 100755 --- a/debian/rules +++ b/debian/rules @@ -240,10 +240,10 @@ override_dh_auto_configure: preconfigure -(if test $(COVERITY_ENABLE) -eq 1; then \ export PATH=$$PATH:/opt/cov-analysis/bin/; \ cov-configure --compiler clang --comptype clang; \ - cov-configure --compiler gcc-7 --comptype gcc; \ - cov-configure --compiler g++-7 --comptype gcc; \ - cov-configure -co /usr/bin/g++-7 --comptype gcc -- -std=c++0x -fPIC -std=c++11; \ - cov-configure -co /usr/bin/gcc-7 --comptype gcc -- -fPIC; \ + cov-configure --compiler gcc-$(GCC_VERSION) --comptype gcc; \ + cov-configure --compiler g++-$(GCC_VERSION) --comptype gcc; \ + cov-configure -co /usr/bin/g++-$(GCC_VERSION) --comptype gcc -- -std=c++0x -fPIC -std=c++11; \ + cov-configure -co /usr/bin/gcc-$(GCC_VERSION) --comptype gcc -- -fPIC; \ cov-configure --compiler cc --comptype gcc --template \ --xml-option append_arg:"--ppp_translator" \ --xml-option append_arg:"replace/llvm::AlignOf::Alignment/(llvm::AlignOf::Alignment)" \