git: 9f1db6c5557b - main - Add missing bsd.linker.mk include after 31ba4ce8898f9dfa5e7f054fdbc26e50a599a6e3
Alex Richardson
arichardson at FreeBSD.org
Mon Aug 2 15:40:07 UTC 2021
The branch main has been updated by arichardson:
URL: https://cgit.FreeBSD.org/src/commit/?id=9f1db6c5557bd01734ee63afacaf07a37fb3cc60
commit 9f1db6c5557bd01734ee63afacaf07a37fb3cc60
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-02 15:38:39 +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
---
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 70b39fdc44ca..3a712cde1703 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-main
mailing list