summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/clang/Makefile6
-rw-r--r--gnu/usr.bin/clang/lldb-server/Makefile7
-rw-r--r--gnu/usr.bin/clang/lldb/Makefile7
3 files changed, 14 insertions, 6 deletions
diff --git a/gnu/usr.bin/clang/Makefile b/gnu/usr.bin/clang/Makefile
index 71f16db67ee..0be074f94b0 100644
--- a/gnu/usr.bin/clang/Makefile
+++ b/gnu/usr.bin/clang/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.22 2022/07/12 21:10:26 jca Exp $
+# $OpenBSD: Makefile,v 1.23 2022/07/13 10:20:18 jca Exp $
.include <bsd.own.mk>
@@ -51,7 +51,6 @@ SUBDIR+=liblldELF
SUBDIR+=lld
-.if ${BUILD_LLDB:L} == "yes" || make(obj)
SUBDIR+=lldb-tblgen
SUBDIR+=include/lldb/Commands
SUBDIR+=include/lldb/Core
@@ -98,7 +97,6 @@ SUBDIR+=liblldbUtility
SUBDIR+=lldb
SUBDIR+=lldb-server
-.endif
SUBDIR+=include/llvm-objcopy
SUBDIR+=llvm-objcopy
@@ -109,7 +107,7 @@ SUBDIR+=llvm-readobj
SUBDIR+=llvm-profdata
-.if ${AR_VERSION:L} == "llvm" || make(obj)
+.if ${AR_VERSION:L} == "llvm"
SUBDIR+=libLLVMDlltoolDriver
SUBDIR+=libLLVMLibDriver
SUBDIR+=llvm-ar
diff --git a/gnu/usr.bin/clang/lldb-server/Makefile b/gnu/usr.bin/clang/lldb-server/Makefile
index 6fc8fe7539c..c1730808141 100644
--- a/gnu/usr.bin/clang/lldb-server/Makefile
+++ b/gnu/usr.bin/clang/lldb-server/Makefile
@@ -1,8 +1,13 @@
-# $OpenBSD: Makefile,v 1.7 2022/07/12 21:06:04 jca Exp $
+# $OpenBSD: Makefile,v 1.8 2022/07/13 10:20:18 jca Exp $
.include <bsd.own.mk>
+.if (${MACHINE} == "arm64") || (${MACHINE} == "amd64")
PROG= lldb-server
+.else
+NOPROG= lldb-server
+.endif
+
BINDIR= /usr/bin
NOMAN=
diff --git a/gnu/usr.bin/clang/lldb/Makefile b/gnu/usr.bin/clang/lldb/Makefile
index c635a3b4738..d460b5da92b 100644
--- a/gnu/usr.bin/clang/lldb/Makefile
+++ b/gnu/usr.bin/clang/lldb/Makefile
@@ -1,8 +1,13 @@
-# $OpenBSD: Makefile,v 1.12 2022/07/12 21:06:04 jca Exp $
+# $OpenBSD: Makefile,v 1.13 2022/07/13 10:20:18 jca Exp $
.include <bsd.own.mk>
+.if (${MACHINE} == "arm64") || (${MACHINE} == "amd64")
PROG= lldb
+.else
+NOPROG= lldb
+.endif
+
BINDIR= /usr/bin
LIBEXECDIR=/usr/libexec