mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-15 09:02:24 +00:00
Enable the build using scan-build
This commit is contained in:
parent
7f06c60c54
commit
afd4c9da4b
7
debian/rules
vendored
7
debian/rules
vendored
@ -69,6 +69,11 @@ ifneq (,$(filter codecoverage,$(DEB_BUILD_OPTIONS)))
|
|||||||
LDFLAGS_EXTRA=-coverage -lgcov
|
LDFLAGS_EXTRA=-coverage -lgcov
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq (,$(filter scan-build,$(DEB_BUILD_OPTIONS)))
|
||||||
|
# enable the build using scan-build
|
||||||
|
PRE_CONFIGURE=scan-build
|
||||||
|
endif
|
||||||
|
|
||||||
%:
|
%:
|
||||||
dh $@
|
dh $@
|
||||||
# --buildsystem=cmake --builddirectory=$(TARGET_BUILD)
|
# --buildsystem=cmake --builddirectory=$(TARGET_BUILD)
|
||||||
@ -117,7 +122,7 @@ override_dh_auto_configure: debian/lldb-$(LLVM_VERSION).install debian/lldb-$(LL
|
|||||||
readlink compiler-rt
|
readlink compiler-rt
|
||||||
|
|
||||||
# Start the actual configure
|
# Start the actual configure
|
||||||
cd $(TARGET_BUILD) && \
|
cd $(TARGET_BUILD) && $(PRE_CONFIGURE) \
|
||||||
../configure $(confargs) \
|
../configure $(confargs) \
|
||||||
--prefix=/usr/lib/llvm-$(LLVM_VERSION) \
|
--prefix=/usr/lib/llvm-$(LLVM_VERSION) \
|
||||||
--bindir=\$${prefix}/bin/ \
|
--bindir=\$${prefix}/bin/ \
|
||||||
|
Loading…
Reference in New Issue
Block a user