pkgsrc-Changes archive

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

CVS commit: pkgsrc/parallel/opencl-clang



Module Name:    pkgsrc
Committed By:   tnn
Date:           Wed Aug 17 15:34:36 UTC 2022

Modified Files:
        pkgsrc/parallel/opencl-clang: Makefile

Log Message:
opencl-clang: take out --version-script where not supported


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/parallel/opencl-clang/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/parallel/opencl-clang/Makefile
diff -u pkgsrc/parallel/opencl-clang/Makefile:1.7 pkgsrc/parallel/opencl-clang/Makefile:1.8
--- pkgsrc/parallel/opencl-clang/Makefile:1.7   Mon Aug 15 20:45:21 2022
+++ pkgsrc/parallel/opencl-clang/Makefile       Wed Aug 17 15:34:36 2022
@@ -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 @@ USE_LANGUAGES=       c c++
 # 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