summaryrefslogtreecommitdiffstats
path: root/libunwind
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2019-11-04 16:55:31 -0800
committerSaleem Abdulrasool <compnerd@compnerd.org>2019-11-04 16:55:31 -0800
commit6db7a5cd7c800a588e94ce5c1ef24ae4d60ecdd3 (patch)
tree2fd756aac642f16590f83eb67871fc99cd6bf0bb /libunwind
parenta5c8ec4baa2c00d8dbca36ffd236a40f9e0c07ed (diff)
downloadbcm5719-llvm-6db7a5cd7c800a588e94ce5c1ef24ae4d60ecdd3.tar.gz
bcm5719-llvm-6db7a5cd7c800a588e94ce5c1ef24ae4d60ecdd3.zip
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++`.
Diffstat (limited to 'libunwind')
-rw-r--r--libunwind/src/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/libunwind/src/CMakeLists.txt b/libunwind/src/CMakeLists.txt
index ed20ff0015f..1ecda26406b 100644
--- a/libunwind/src/CMakeLists.txt
+++ b/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
OpenPOWER on IntegriCloud