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++`.
This commit is contained in:
Saleem Abdulrasool 2019-11-04 16:55:31 -08:00
parent a5c8ec4baa
commit 6db7a5cd7c
1 changed files with 2 additions and 0 deletions

View File

@ -127,6 +127,8 @@ if (LIBUNWIND_ENABLE_SHARED)
"${LIBUNWIND_COMPILE_FLAGS}"
LINK_FLAGS
"${LIBUNWIND_LINK_FLAGS}"
LINKER_LANGUAGE
C
OUTPUT_NAME
"unwind"
VERSION