pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/parallel/opencl-clang opencl-clang: take out --version...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ce0d7471f84f
branches:  trunk
changeset: 383301:ce0d7471f84f
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Wed Aug 17 15:34:36 2022 +0000

description:
opencl-clang: take out --version-script where not supported

diffstat:

 parallel/opencl-clang/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 352cc28d340d -r ce0d7471f84f parallel/opencl-clang/Makefile
--- a/parallel/opencl-clang/Makefile    Wed Aug 17 15:21:17 2022 +0000
+++ b/parallel/opencl-clang/Makefile    Wed Aug 17 15:34:36 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2022/08/15 20:45:21 tnn Exp $
+# $NetBSD: Makefile,v 1.8 2022/08/17 15:34:36 tnn Exp $
 
 DISTNAME=      opencl-clang-14.0.0
 CATEGORIES=    parallel
@@ -16,6 +16,10 @@
 # C++14
 GCC_REQD+=     7 # sync with llvm/clang
 
+.for os in Darwin SunOS
+BUILDLINK_TRANSFORM.${os}+=    rm:-Wl,--version-script=${WRKDIR}/${DISTNAME}/common_clang.map
+.endfor
+
 .include "../../parallel/spirv-llvm-translator/buildlink3.mk"
 .include "../../lang/clang/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index