commit | 79ff8f03759b3fd70016d5b0bfc09978f6993a20 | [log] [tgz] |
---|---|---|
author | Eric Fiselier <[email protected]> | Sun Nov 13 22:27:00 2016 |
committer | Eric Fiselier <[email protected]> | Sun Nov 13 22:27:00 2016 |
tree | ed54e753f06a5691c6f2fe573cb218a7406a0634 | |
parent | b8d0d1cc75f7fff509ad9766a8c13049f1120a90 [diff] [blame] |
Fix GCC libc++abi build llvm-svn: 286783
diff --git a/libcxxabi/CMakeLists.txt b/libcxxabi/CMakeLists.txt index b23936e..5eb0109 100644 --- a/libcxxabi/CMakeLists.txt +++ b/libcxxabi/CMakeLists.txt
@@ -249,6 +249,10 @@ add_target_flags_if(LIBCXXABI_SYSROOT "--sysroot=${LIBCXXABI_SYSROOT}") +if (LIBCXXABI_TARGET_TRIPLE) + set(TARGET_TRIPLE "${LIBCXXABI_TARGET_TRIPLE}") +endif() + # Configure compiler. Must happen after setting the target flags. include(config-ix)