fix the declaration

This commit is contained in:
Sylvestre Ledru 2022-10-16 10:49:04 +02:00
parent 3679d9c59c
commit 0b12f4f2ac

8
debian/rules vendored
View File

@ -427,8 +427,6 @@ ifeq ($(shell test -e /tmp/sccache && echo -n yes),yes)
export SCCACHE_GCS_RW_MODE=READ_WRITE
export SCCACHE_LOG=sccache=debug
export SCCACHE_ERROR_LOG=/tmp/sccache.log
mkdir -p ~/.config/sccache/
touch ~/.config/sccache/config
STAGE_1_CMAKE_EXTRA += -DCMAKE_C_COMPILER_LAUNCHER=/tmp/sccache -DCMAKE_CXX_COMPILER_LAUNCHER=/tmp/sccache
endif
@ -545,6 +543,12 @@ override_dh_auto_configure: preconfigure
--xml-option append_arg:"replace/llvm::AlignOf<NextTy>::Alignment/(llvm::AlignOf<NextTy>::Alignment)"; \
fi)
# If we use sccache, create temporary conf file
if test -f /tmp/sccache; then \
mkdir -p ~/.config/sccache/; \
touch ~/.config/sccache/config; \
fi
# Fails with No target "unwind_static"
# -DLIBCXXABI_ENABLE_STATIC_UNWINDER=ON \
# -DLIBCXXABI_STATICALLY_LINK_UNWINDER_IN_SHARED_LIBRARY=OFF \