use the gcc variable to configure coverity

This commit is contained in:
Sylvestre Ledru 2017-09-04 06:00:01 +00:00
parent 3e3f47b16e
commit cff0f5dacc

8
debian/rules vendored
View File

@ -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<PrevTy>::Alignment/(llvm::AlignOf<PrevTy>::Alignment)" \