mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-14 21:40:47 +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
|
||||
endif
|
||||
|
||||
ifneq (,$(filter scan-build,$(DEB_BUILD_OPTIONS)))
|
||||
# enable the build using scan-build
|
||||
PRE_CONFIGURE=scan-build
|
||||
endif
|
||||
|
||||
%:
|
||||
dh $@
|
||||
# --buildsystem=cmake --builddirectory=$(TARGET_BUILD)
|
||||
@ -117,7 +122,7 @@ override_dh_auto_configure: debian/lldb-$(LLVM_VERSION).install debian/lldb-$(LL
|
||||
readlink compiler-rt
|
||||
|
||||
# Start the actual configure
|
||||
cd $(TARGET_BUILD) && \
|
||||
cd $(TARGET_BUILD) && $(PRE_CONFIGURE) \
|
||||
../configure $(confargs) \
|
||||
--prefix=/usr/lib/llvm-$(LLVM_VERSION) \
|
||||
--bindir=\$${prefix}/bin/ \
|
||||
|
Loading…
Reference in New Issue
Block a user