git: 7809becb4ea6 - stable/13 - Add missing bsd.linker.mk include after 31ba4ce8898f9dfa5e7f054fdbc26e50a599a6e3

Alex Richardson arichardson at FreeBSD.org
Thu Aug 5 10:45:53 UTC 2021


The branch stable/13 has been updated by arichardson:

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

commit 7809becb4ea614b1a978cd60e7ce7b68d459391b
Author:     Alex Richardson <arichardson at FreeBSD.org>
AuthorDate: 2021-08-02 15:38:39 +0000
Commit:     Alex Richardson <arichardson at FreeBSD.org>
CommitDate: 2021-08-05 10:45:33 +0000

    Add missing bsd.linker.mk include after 31ba4ce8898f9dfa5e7f054fdbc26e50a599a6e3
    
    This is needed for -DWITH_CLEAN builds since the cleandir phase does not
    include bsd.linker.mk from bsd.compiler.mk
    
    (cherry picked from commit 9f1db6c5557bd01734ee63afacaf07a37fb3cc60)
---
 lib/clang/llvm.build.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/clang/llvm.build.mk b/lib/clang/llvm.build.mk
index adb2300541f6..a909cd8e2c05 100644
--- a/lib/clang/llvm.build.mk
+++ b/lib/clang/llvm.build.mk
@@ -100,6 +100,7 @@ CFLAGS+=	-DLLVM_NATIVE_TARGETMC=LLVMInitialize${LLVM_NATIVE_ARCH}TargetMC
 
 CFLAGS+=	-ffunction-sections
 CFLAGS+=	-fdata-sections
+.include "bsd.linker.mk"
 .if ${LINKER_TYPE} == "mac"
 LDFLAGS+=	-Wl,-dead_strip
 .else


More information about the dev-commits-src-branches mailing list