summaryrefslogtreecommitdiff
path: root/share/mk/bsd.own.mk
diff options
context:
space:
mode:
authorJeremie Courreges-Anglas <jca@cvs.openbsd.org>2022-07-12 21:01:38 +0000
committerJeremie Courreges-Anglas <jca@cvs.openbsd.org>2022-07-12 21:01:38 +0000
commit23834298a8aabe023fad9ac4dfcadcb0ef2b1bd6 (patch)
tree18927b22a2e4ec9945c2f69ee6d423f1c6eb914c /share/mk/bsd.own.mk
parent0f7a23afedfd50fa70a486933d8f068dfaaa9dce (diff)
Introduce a BUILD_LLDB switch, currently active on amd64 and arm64
ok miod@ patrick@
Diffstat (limited to 'share/mk/bsd.own.mk')
-rw-r--r--share/mk/bsd.own.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk
index a23500e7e03..acde59a95c1 100644
--- a/share/mk/bsd.own.mk
+++ b/share/mk/bsd.own.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.own.mk,v 1.212 2021/11/23 10:30:08 robert Exp $
+# $OpenBSD: bsd.own.mk,v 1.213 2022/07/12 21:01:37 jca Exp $
# $NetBSD: bsd.own.mk,v 1.24 1996/04/13 02:08:09 thorpej Exp $
# Host-specific overrides
@@ -19,6 +19,7 @@ CLANG_ARCH=aarch64 amd64 arm i386 mips64 mips64el powerpc powerpc64 riscv64 spar
GCC4_ARCH=alpha hppa sh sparc64
GCC3_ARCH=m88k
LLD_ARCH=aarch64 amd64 arm i386 powerpc powerpc64 riscv64
+LLDB_ARCH=aarch64 amd64
# m88k: ?
PIE_ARCH=aarch64 alpha amd64 arm hppa i386 mips64 mips64el powerpc powerpc64 riscv64 sh sparc64
@@ -57,6 +58,12 @@ LINKER_VERSION?=bfd
AR_VERSION?=binutils
.endif
+.if !empty(LLDB_ARCH:M${_arch})
+BUILD_LLDB?=yes
+.else
+BUILD_LLDB?=no
+.endif
+
.if !empty(STATICPIE_ARCH:M${_arch})
STATICPIE?=-pie
.endif