From 3f0ec8db061d0088a7ef09eaa586e5469a114ced Mon Sep 17 00:00:00 2001 From: jca Date: Tue, 26 Jul 2022 15:37:34 +0000 Subject: [PATCH] For make obj, always the lldb* and llvm-ar directories Apparently favored by deraadt@, pointed out by patrick@, ok patrick@ --- gnu/usr.bin/clang/Makefile | 6 +++--- 1 file 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 @@ -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 -- 2.20.1