summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/clang
diff options
context:
space:
mode:
authorJeremie Courreges-Anglas <jca@cvs.openbsd.org>2022-07-26 15:37:35 +0000
committerJeremie Courreges-Anglas <jca@cvs.openbsd.org>2022-07-26 15:37:35 +0000
commitbab95792390b469506602d22f59612b601a2b2dc (patch)
treed4e5edcc84825edc8829c05fef1be3db42e5c013 /gnu/usr.bin/clang
parent11bc278311ce4536d657828f92f8d5cd9462c9b4 (diff)
For make obj, always the lldb* and llvm-ar directories
Apparently favored by deraadt@, pointed out by patrick@, ok patrick@
Diffstat (limited to 'gnu/usr.bin/clang')
-rw-r--r--gnu/usr.bin/clang/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/usr.bin/clang/Makefile b/gnu/usr.bin/clang/Makefile
index 013547a6899..8e8aa7d7178 100644
--- a/gnu/usr.bin/clang/Makefile
+++ b/gnu/usr.bin/clang/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.24 2022/07/26 15:34:33 jca Exp $
+# $OpenBSD: Makefile,v 1.25 2022/07/26 15:37:34 jca Exp $
.include <bsd.own.mk>
@@ -51,7 +51,7 @@ SUBDIR+=liblldELF
SUBDIR+=lld
-.if ${BUILD_LLDB:L} == "yes"
+.if ${BUILD_LLDB:L} == "yes" || make(obj)
SUBDIR+=lldb-tblgen
SUBDIR+=include/lldb/Commands
SUBDIR+=include/lldb/Core
@@ -109,7 +109,7 @@ SUBDIR+=llvm-readobj
SUBDIR+=llvm-profdata
-.if ${AR_VERSION:L} == "llvm"
+.if ${AR_VERSION:L} == "llvm" || make(obj)
SUBDIR+=libLLVMDlltoolDriver
SUBDIR+=libLLVMLibDriver
SUBDIR+=llvm-ar