mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-07 17:59:27 +00:00
move the code coverage decl above
This commit is contained in:
parent
e54f11d312
commit
772552aa5c
18
debian/rules
vendored
18
debian/rules
vendored
@ -123,6 +123,15 @@ ifneq (,$(filter $(DEB_HOST_ARCH),$(BINUTILS_GOLD_ARCHS)))
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq (,$(filter codecoverage,$(DEB_BUILD_OPTIONS)))
|
||||||
|
# enable the code coverage
|
||||||
|
CODECOVERAGE=yes
|
||||||
|
# for -fvisibility-inlines-hidden see http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20130729/183016.html
|
||||||
|
CXXFLAGS_EXTRA += -fprofile-arcs -ftest-coverage
|
||||||
|
LDFLAGS_EXTRA += -coverage -lgcov
|
||||||
|
RUN_TEST=yes
|
||||||
|
endif
|
||||||
|
|
||||||
# Enable for bootstrap
|
# Enable for bootstrap
|
||||||
LDFLAGS_EXTRA += -fPIC -Wno-unused-command-line-argument -Wno-unknown-warning-option -fno-addrsig
|
LDFLAGS_EXTRA += -fPIC -Wno-unused-command-line-argument -Wno-unknown-warning-option -fno-addrsig
|
||||||
CXXFLAGS_EXTRA += -fPIC -Wno-unused-command-line-argument -Wno-unknown-warning-option -fno-addrsig
|
CXXFLAGS_EXTRA += -fPIC -Wno-unused-command-line-argument -Wno-unknown-warning-option -fno-addrsig
|
||||||
@ -145,15 +154,6 @@ ifneq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
|
|||||||
RUN_TEST=no
|
RUN_TEST=no
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter codecoverage,$(DEB_BUILD_OPTIONS)))
|
|
||||||
# enable the code coverage
|
|
||||||
CODECOVERAGE=yes
|
|
||||||
# for -fvisibility-inlines-hidden see http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20130729/183016.html
|
|
||||||
CXXFLAGS_EXTRA += -fprofile-arcs -ftest-coverage
|
|
||||||
LDFLAGS_EXTRA += -coverage -lgcov
|
|
||||||
RUN_TEST=yes
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq (,$(filter scan-build,$(DEB_BUILD_OPTIONS)))
|
ifneq (,$(filter scan-build,$(DEB_BUILD_OPTIONS)))
|
||||||
# enable the build using scan-build
|
# enable the build using scan-build
|
||||||
# The package are installed through the variable declarations:
|
# The package are installed through the variable declarations:
|
||||||
|
Loading…
Reference in New Issue
Block a user