[Bug 277096] WITHOUT_CLANG does not exclude SANITIZER_SHAREDIR from package file list

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 25 Apr 2024 15:44:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277096

--- Comment #3 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

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

commit 514773a5486d1fa4f2d5acb5af1766965c20765b
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2024-04-25 15:05:29 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2024-04-25 15:05:29 +0000

    Skip building libclang_rt when WITHOUT_CLANG is used

    As noted in bug 277096, when building a pkgbase repository using
    WITHOUT_CROSS_COMPILER and WITHOUT_TOOLCHAIN (which sets WITHOUT_CLANG),
    the following residual files are left over:

    /usr/lib/clang/18/lib/freebsd/libclang_rt.asan-x86_64.so
    /usr/lib/clang/18/share/asan_ignore_list.txt
    /usr/lib/clang/18/share/cfi_ignore_list.txt
    /usr/lib/clang/18/share/msan_ignore_list.txt

    This is because the lib/libclang_rt directory is still descended into,
    even if WITHOUT_CLANG is used. Fix it by not descending into the
    libclang_rt directory in that case.

    PR:             277096
    Reported by:    Siva Mahadevan <me@svmhdvn.name>
    MFC after:      3 days

 lib/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.