add some workaround for stretch

This commit is contained in:
Sylvestre Ledru 2022-01-23 22:52:21 +01:00
parent 3c830a56b4
commit 436ebce633

5
debian/rules vendored
View File

@ -664,7 +664,7 @@ override_dh_auto_install:
# Clean up temporary files to make sure the install works
rm -rf $(find $(TARGET_BUILD) -wholename '*CMakeFiles*' -not -name CMakeLists.txt -a -name "*.dir" -type d)
# install/fast enables a make install without recompiling temporary files
DESTDIR=$(DEB_INST)/ ninja -C $(TARGET_BUILD) $(VERBOSE) stage2-install
LD_LIBRARY_PATH=$(STAGE_2_LIB_DIR) DESTDIR=$(DEB_INST)/ ninja -C $(TARGET_BUILD) $(VERBOSE) stage2-install
# Not used on Linux.
rm -f $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/bin/argdumper
@ -978,6 +978,9 @@ override_dh_auto_test:
endif
override_dh_testroot:
# Override for Debian stretch
override_dh_gencontrol:
dh_gencontrol -- $(control_vars)