mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-13 10:46:14 +00:00
fix the declaration
This commit is contained in:
parent
3679d9c59c
commit
0b12f4f2ac
8
debian/rules
vendored
8
debian/rules
vendored
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user