summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2021-12-22 13:00:26 +0000
committertnn <tnn@pkgsrc.org>2021-12-22 13:00:26 +0000
commita10a3c99f32a0a8a7b103127767989115747b2f5 (patch)
tree4a2d989fa01d52800ce550698254cf8cc06894f2 /lang
parentfce02556cccdc856a56672df0e364b31777b91cb (diff)
downloadpkgsrc-a10a3c99f32a0a8a7b103127767989115747b2f5.tar.gz
wasi-libcxx: set CLANGBASE instead of PKG_CC/CXX
Diffstat (limited to 'lang')
-rw-r--r--lang/wasi-libcxx/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/lang/wasi-libcxx/Makefile b/lang/wasi-libcxx/Makefile
index 05e0882ec39..58c0be11d6a 100644
--- a/lang/wasi-libcxx/Makefile
+++ b/lang/wasi-libcxx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2021/12/19 14:12:20 ryoon Exp $
+# $NetBSD: Makefile,v 1.2 2021/12/22 13:00:26 tnn Exp $
.include "../../lang/llvm/version.mk"
@@ -168,8 +168,7 @@ do-configure:
.include "../../lang/llvm/buildlink3.mk"
.include "../../lang/wasi-compiler-rt/buildlink3.mk"
PKGSRC_COMPILER= clang
-PKG_CC= ${PREFIX}/bin/clang
-PKG_CXX= ${PREFIX}/bin/clang++
+CLANGBASE= ${PREFIX}
BUILDLINK_DEPMETHOD.clang= build
.include "../../lang/clang/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"