From: jca Date: Tue, 12 Jul 2022 21:10:26 +0000 (+0000) Subject: Enter the lldb and lldb-server directories for make obj, even if not built X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=4e4021b834e00efcfb4ed345750fa355caf0915e;p=openbsd Enter the lldb and lldb-server directories for make obj, even if not built Apparently favored by deraadt@, pointed out by patrick@, ok patrick@ --- diff --git a/gnu/usr.bin/clang/Makefile b/gnu/usr.bin/clang/Makefile index a97b812e39f..71f16db67ee 100644 --- a/gnu/usr.bin/clang/Makefile +++ b/gnu/usr.bin/clang/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.21 2022/07/12 21:06:04 jca Exp $ +# $OpenBSD: Makefile,v 1.22 2022/07/12 21:10:26 jca Exp $ .include @@ -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