summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2022-08-03 11:51:07 +0000
committerjperkin <jperkin@pkgsrc.org>2022-08-03 11:51:07 +0000
commitc2262674b5291c10590ecc0d4a967cf10bd26ef1 (patch)
tree90a3749cc6e644a13a3fb0a9975a571c31bb641b
parent2e6bdc6bd02ea01e64cd68d86adb1cd304b715d3 (diff)
downloadpkgsrc-c2262674b5291c10590ecc0d4a967cf10bd26ef1.tar.gz
clang-tools-extra: Fix build on SunOS.
-rw-r--r--lang/clang-tools-extra/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/clang-tools-extra/Makefile b/lang/clang-tools-extra/Makefile
index 2334bc064d7..336e1d7fd4b 100644
--- a/lang/clang-tools-extra/Makefile
+++ b/lang/clang-tools-extra/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2022/04/18 19:11:30 adam Exp $
+# $NetBSD: Makefile,v 1.17 2022/08/03 11:51:07 jperkin Exp $
PKGREVISION= 1
.include "../../lang/clang/Makefile.common"
@@ -23,6 +23,8 @@ REPLACE_PYTHON+= tools/extra/clang-include-fixer/find-all-symbols/tool/run-find-
REPLACE_PYTHON+= tools/extra/clang-tidy/tool/clang-tidy-diff.py
REPLACE_PYTHON+= tools/extra/clang-tidy/tool/run-clang-tidy.py
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-Bsymbolic-functions
+
.PHONY: inject-clang-tools
post-extract: inject-clang-tools
inject-clang-tools: