Ensure fixfilepath feature is disabled. The fixfilepath feature sets a -ffile-prefix-map flag, which is only supported in clang-10.

This commit is contained in:
Vagrant Cascadian 2020-10-23 00:28:08 +00:00 committed by Sylvestre Ledru
parent 696e5c774e
commit f0b4b8baad
2 changed files with 13 additions and 0 deletions

9
debian/changelog vendored
View File

@ -1,3 +1,12 @@
llvm-toolchain-9 (1:9.0.1-15) unstable; urgency=medium
* Ensure fixfilepath feature is disabled. The fixfilepath
feature sets a -ffile-prefix-map flag, which is only
supported in clang-10. (Closes: #972751).
Thanks to Vagrant Cascadian for the patch
-- Sylvestre Ledru <sylvestre@debian.org> Fri, 23 Oct 2020 09:14:16 +0200
llvm-toolchain-9 (1:9.0.1-14) unstable; urgency=medium
* debian/patches/b288d90b39f4b905c02092a9bfcfd6d78f99b191.patch:

4
debian/rules vendored
View File

@ -58,6 +58,10 @@ ifneq (,$(filter $(DEB_HOST_ARCH),armel riscv64))
LDFLAGS_EXTRA += -latomic
endif
# Ensure fixfilepath feature is disabled. The fixfilepath feature
# sets a -ffile-prefix-map flag, which is only supported in clang-10.
export DEB_BUILD_MAINT_OPTIONS=reproducible=-fixfilepath
# Cxx flags for building libcxx and libcxxabi
LIBCXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS) $(shell dpkg-buildflags --get CPPFLAGS)