pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
clang-git: Don't use -ldl in sanitizers/NetBSD
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Mon Jul 3 18:25:25 2017 +0200
Changeset: 554a4aaf76889fc9053196859eca56dcfd097b00
Modified Files:
clang-git/distinfo
Added Files:
clang-git/patches/patch-lib_Driver_ToolChains_CommonArgs.cpp
Log Message:
clang-git: Don't use -ldl in sanitizers/NetBSD
Sponsored by <The NetBSD Foundation>
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=554a4aaf76889fc9053196859eca56dcfd097b00
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
clang-git/distinfo | 1 +
clang-git/patches/patch-lib_Driver_ToolChains_CommonArgs.cpp | 12 ++++++++++++
2 files changed, 13 insertions(+)
diffs:
diff --git a/clang-git/distinfo b/clang-git/distinfo
index 8c62f70c86..c39686c0df 100644
--- a/clang-git/distinfo
+++ b/clang-git/distinfo
@@ -12,6 +12,7 @@ Size (libcxx-3.6.2.src.tar.xz) = 944020 bytes
SHA1 (llvm-3.6.2.src.tar.xz) = 7a00257eb2bc9431e4c77c3a36b033072c54bc7e
RMD160 (llvm-3.6.2.src.tar.xz) = 521cbc5fe2925ea3c6e90c7a31f752a04045c972
Size (llvm-3.6.2.src.tar.xz) = 12802380 bytes
+SHA1 (patch-lib_Driver_ToolChains_CommonArgs.cpp) = 285bbfc2cdc058e53e8160bd6aff1ce5298b76e5
SHA1 (patch-lib_Driver_ToolChains_NetBSD.cpp) = 6ddeadc54bed840bd7654ec602dfbd20b071f2d9
SHA1 (patch-lib_Driver_ToolChains_NetBSD.h) = 4891098cce9cab17e01924fa7ea3a9b7cff69b26
SHA1 (patch-tools_clang-format_CMakeLists.txt) = f119d2a94cbfb8c00a285d1aa7789ed26f8309cf
diff --git a/clang-git/patches/patch-lib_Driver_ToolChains_CommonArgs.cpp b/clang-git/patches/patch-lib_Driver_ToolChains_CommonArgs.cpp
new file mode 100644
index 0000000000..7a585748fb
--- /dev/null
+++ b/clang-git/patches/patch-lib_Driver_ToolChains_CommonArgs.cpp
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- lib/Driver/ToolChains/CommonArgs.cpp.orig 2017-07-02 16:11:01.135157051 +0000
++++ lib/Driver/ToolChains/CommonArgs.cpp
+@@ -524,6 +524,7 @@ void tools::linkSanitizerRuntimeDeps(con
+ CmdArgs.push_back("-lm");
+ // There's no libdl on FreeBSD or RTEMS.
+ if (TC.getTriple().getOS() != llvm::Triple::FreeBSD &&
++ TC.getTriple().getOS() != llvm::Triple::NetBSD &&
+ TC.getTriple().getOS() != llvm::Triple::RTEMS)
+ CmdArgs.push_back("-ldl");
+ }
Home |
Main Index |
Thread Index |
Old Index