git: f5be08129b2e - stable/12 - Add missing bsd.linker.mk include after 31ba4ce8898f9dfa5e7f054fdbc26e50a599a6e3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 25 Dec 2021 11:55:38 UTC
The branch stable/12 has been updated by dim:
URL: https://cgit.FreeBSD.org/src/commit/?id=f5be08129b2e5a21f98673033ab461b55b803589
commit f5be08129b2e5a21f98673033ab461b55b803589
Author: Alex Richardson <arichardson@FreeBSD.org>
AuthorDate: 2021-08-02 15:38:39 +0000
Commit: Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2021-12-25 11:51:13 +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 ea07558348e1..277cbd77de0b 100644
--- a/lib/clang/llvm.build.mk
+++ b/lib/clang/llvm.build.mk
@@ -106,6 +106,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