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)" \