From 19592db95b21e9400648b6e2b429dce98c19ee9e Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Thu, 14 Apr 2022 11:54:23 +0200 Subject: [PATCH] improve the deactivation of libclc --- debian/rules | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index e7d7f92e..e851c8c2 100755 --- a/debian/rules +++ b/debian/rules @@ -473,7 +473,8 @@ preconfigure: # Conditionally enable *.spv files. Debian buster and Ubuntu 18.04 # don't have llvm-spirv to create the *.spv files. if test "$(LLVM_SPIRV_INSTALLED)" = "yes"; then \ - sed -i -e "s|#spv\ ||g" debian/libclc-$(LLVM_VERSION).install; \ + echo "" > debian/libclc-$(LLVM_VERSION).install; \ + echo "" > debian/libclc-$(LLVM_VERSION)-dev.install; \ fi if test "$(DISTRO)" = "stretch"; then \ echo "" > debian/python3-lldb-$(LLVM_VERSION).install; \