pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
compiler-rt-netbsd: Try to add -lexecinfo into the proper place
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Fri Jun 8 13:50:38 2018 +0200
Changeset: 7797f5dfbf857e37bc09d9d3c20a4db90e3103ec
Modified Files:
compiler-rt-netbsd/distinfo
compiler-rt-netbsd/patches/patch-CMakeLists.txt
Log Message:
compiler-rt-netbsd: Try to add -lexecinfo into the proper place
Link -lexecinfo in sanitizers on NetBSD always.
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=7797f5dfbf857e37bc09d9d3c20a4db90e3103ec
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
compiler-rt-netbsd/distinfo | 2 +-
compiler-rt-netbsd/patches/patch-CMakeLists.txt | 13 ++++++++++++-
2 files changed, 13 insertions(+), 2 deletions(-)
diffs:
diff --git a/compiler-rt-netbsd/distinfo b/compiler-rt-netbsd/distinfo
index 1af176216e..7c59b15df1 100644
--- a/compiler-rt-netbsd/distinfo
+++ b/compiler-rt-netbsd/distinfo
@@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.35 2015/09/11 01:21:57 tnn Exp $
-SHA1 (patch-CMakeLists.txt) = b80970b86107f4e17f994433e743f83160f71428
+SHA1 (patch-CMakeLists.txt) = 79d5b0e64ab46624b544ee84734e7a31a8de41df
SHA1 (patch-cmake_config-ix.cmake) = c2ac835eb5cddaf2d4820b0d21e36e18d29bd1a5
SHA1 (patch-lib_asan_asan__posix.cc) = 0f596061c078eaab0b5b4b183550aa7820677f46
SHA1 (patch-lib_esan_esan__interceptors.cpp) = d65c31b0d44330c669bf6d81a3cfa51954078c32
diff --git a/compiler-rt-netbsd/patches/patch-CMakeLists.txt b/compiler-rt-netbsd/patches/patch-CMakeLists.txt
index 3a1f358cf3..0212725d70 100644
--- a/compiler-rt-netbsd/patches/patch-CMakeLists.txt
+++ b/compiler-rt-netbsd/patches/patch-CMakeLists.txt
@@ -2,7 +2,18 @@ $NetBSD$
--- CMakeLists.txt.orig 2018-06-01 09:39:33.000000000 +0000
+++ CMakeLists.txt
-@@ -370,7 +370,7 @@ foreach(path IN ITEMS ${LLVM_MAIN_SRC_DI
+@@ -330,6 +330,10 @@ if("${CMAKE_SYSTEM_NAME}" STREQUAL "Fuch
+ list(APPEND SANITIZER_COMMON_LINK_LIBS zircon)
+ endif()
+
++if("${CMAKE_SYSTEM_NAME}" STREQUAL "NetBSD")
++ list(APPEND SANITIZER_COMMON_LINK_LIBS execinfo)
++endif()
++
+ if (SANITIZER_CXX_ABI_LIBNAME STREQUAL "libc++")
+ if (SANITIZER_CXX_ABI_INTREE)
+ if (NOT LIBCXXABI_ENABLE_STATIC_UNWINDER AND (TARGET unwind_shared OR HAVE_LIBUNWIND))
+@@ -370,7 +374,7 @@ foreach(path IN ITEMS ${LLVM_MAIN_SRC_DI
${LLVM_MAIN_SRC_DIR}/../libcxx
${LLVM_EXTERNAL_LIBCXX_SOURCE_DIR})
if(IS_DIRECTORY ${path})
Home |
Main Index |
Thread Index |
Old Index