From f0b4b8baad4e099693a9808fe219356c30909dd9 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Fri, 23 Oct 2020 00:28:08 +0000 Subject: [PATCH] Ensure fixfilepath feature is disabled. The fixfilepath feature sets a -ffile-prefix-map flag, which is only supported in clang-10. --- debian/changelog | 9 +++++++++ debian/rules | 4 ++++ 2 files changed, 13 insertions(+) diff --git a/debian/changelog b/debian/changelog index 2a5c5e5e..4d2eafec 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Fri, 23 Oct 2020 09:14:16 +0200 + llvm-toolchain-9 (1:9.0.1-14) unstable; urgency=medium * debian/patches/b288d90b39f4b905c02092a9bfcfd6d78f99b191.patch: diff --git a/debian/rules b/debian/rules index b5be01a8..9fc9e675 100755 --- a/debian/rules +++ b/debian/rules @@ -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)