Skip to content
Permalink
Browse files

build: explicitly set the linker language for unwind

The unwinder should not depend on libc++.  In fact, we do not end up
with a link against libc++ as we do not have a dependency on libc++ at
runtime.  This ensures that we link with `clang` rather than `clang++`.
  • Loading branch information
compnerd committed Nov 5, 2019
1 parent a5c8ec4 commit 6db7a5cd7c800a588e94ce5c1ef24ae4d60ecdd3
Showing with 2 additions and 0 deletions.
  1. +2 −0 libunwind/src/CMakeLists.txt
@@ -127,6 +127,8 @@ if (LIBUNWIND_ENABLE_SHARED)
"${LIBUNWIND_COMPILE_FLAGS}"
LINK_FLAGS
"${LIBUNWIND_LINK_FLAGS}"
LINKER_LANGUAGE
C
OUTPUT_NAME
"unwind"
VERSION

1 comment on commit 6db7a5c

@krytarowski

This comment has been minimized.

Copy link
Member

krytarowski commented on 6db7a5c Nov 5, 2019

@compnerd this broke the NetBSD builtbot: http://lab.llvm.org:8014/builders/netbsd-amd64/builds/81

Please fix.

CC: @mgorny

Please sign in to comment.
You can’t perform that action at this time.