git: e2423b8e986d - stable/12 - Add libclang_rt.profile-powerpc64le.a to (Optional)?ObsoleteFiles.inc

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Sat, 25 Dec 2021 11:55:12 UTC
The branch stable/12 has been updated by dim:

URL: https://cgit.FreeBSD.org/src/commit/?id=e2423b8e986d88ca9750cf4e18dd0c77b14bf6a1

commit e2423b8e986d88ca9750cf4e18dd0c77b14bf6a1
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2021-01-16 16:25:56 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2021-12-25 11:51:01 +0000

    Add libclang_rt.profile-powerpc64le.a to (Optional)?ObsoleteFiles.inc
    
    On little-endian PowerPC64, this prevented /usr/lib/clang/11.0.0 being
    cleaned up completely after upgrading to clang 11.0.1.
    
    Noticed by:     pkubaj
    MFC after:      4 weeks
    X-MFC-With:     r364284
    
    (cherry picked from commit 7593c13e180f64a19ff4fc611f5e8955e7836466)
---
 ObsoleteFiles.inc                        | 1 +
 tools/build/mk/OptionalObsoleteFiles.inc | 1 +
 2 files changed, 2 insertions(+)

diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc
index 91d4c7049253..764421e55ed2 100644
--- a/ObsoleteFiles.inc
+++ b/ObsoleteFiles.inc
@@ -253,6 +253,7 @@ OLD_FILES+=usr/lib/clang/11.0.0/lib/freebsd/libclang_rt.profile-armhf.a
 OLD_FILES+=usr/lib/clang/11.0.0/lib/freebsd/libclang_rt.profile-i386.a
 OLD_FILES+=usr/lib/clang/11.0.0/lib/freebsd/libclang_rt.profile-powerpc.a
 OLD_FILES+=usr/lib/clang/11.0.0/lib/freebsd/libclang_rt.profile-powerpc64.a
+OLD_FILES+=usr/lib/clang/11.0.0/lib/freebsd/libclang_rt.profile-powerpc64le.a
 OLD_FILES+=usr/lib/clang/11.0.0/lib/freebsd/libclang_rt.profile-x86_64.a
 OLD_FILES+=usr/lib/clang/11.0.0/lib/freebsd/libclang_rt.safestack-aarch64.a
 OLD_FILES+=usr/lib/clang/11.0.0/lib/freebsd/libclang_rt.safestack-i386.a
diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc
index 25317e5f952a..e70428b092cf 100644
--- a/tools/build/mk/OptionalObsoleteFiles.inc
+++ b/tools/build/mk/OptionalObsoleteFiles.inc
@@ -1684,6 +1684,7 @@ OLD_FILES+=usr/lib/clang/11.0.1/lib/freebsd/libclang_rt.profile-armhf.a
 OLD_FILES+=usr/lib/clang/11.0.1/lib/freebsd/libclang_rt.profile-i386.a
 OLD_FILES+=usr/lib/clang/11.0.1/lib/freebsd/libclang_rt.profile-powerpc.a
 OLD_FILES+=usr/lib/clang/11.0.1/lib/freebsd/libclang_rt.profile-powerpc64.a
+OLD_FILES+=usr/lib/clang/11.0.1/lib/freebsd/libclang_rt.profile-powerpc64le.a
 OLD_FILES+=usr/lib/clang/11.0.1/lib/freebsd/libclang_rt.profile-x86_64.a
 OLD_FILES+=usr/lib/clang/11.0.1/lib/freebsd/libclang_rt.safestack-aarch64.a
 OLD_FILES+=usr/lib/clang/11.0.1/lib/freebsd/libclang_rt.safestack-i386.a