summaryrefslogtreecommitdiff
path: root/lang/clang/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/clang/Makefile')
-rw-r--r--lang/clang/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/lang/clang/Makefile b/lang/clang/Makefile
index eaf0299ae35..4bb7161d267 100644
--- a/lang/clang/Makefile
+++ b/lang/clang/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.71 2022/08/12 08:45:44 pin Exp $
+# $NetBSD: Makefile,v 1.72 2022/08/12 19:03:39 tnn Exp $
.include "Makefile.common"
@@ -6,4 +6,9 @@ PKGNAME= ${DISTNAME:S/.src//}
USE_TOOLS+= perl:run
+PLIST_VARS+= RISCV
+.if !empty(PKG_BUILD_OPTIONS.llvm:Mllvm-target-riscv)
+PLIST.RISCV= yes
+.endif
+
.include "../../mk/bsd.pkg.mk"