diff options
author | Shiz <hi@shiz.me> | 2017-05-14 22:53:53 +0000 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-05-16 18:17:06 +0200 |
commit | 6b711aaa81a9f16d46f61847e8d53f292c7b15a8 (patch) | |
tree | c7a473d833b27dac12e9d671268c3e61703012f8 /testing/libc++/no-libunwind-sources.patch | |
parent | 8cb3112594f10a8cee5b5412c28a846acb63167f (diff) | |
download | aports-6b711aaa81a9f16d46f61847e8d53f292c7b15a8.tar.bz2 aports-6b711aaa81a9f16d46f61847e8d53f292c7b15a8.tar.xz |
testing/libc++: new aport
http://libcxx.llvm.org/
A new implementation of the C++ standard library, targeting C++11.
Diffstat (limited to 'testing/libc++/no-libunwind-sources.patch')
-rw-r--r-- | testing/libc++/no-libunwind-sources.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/testing/libc++/no-libunwind-sources.patch b/testing/libc++/no-libunwind-sources.patch new file mode 100644 index 0000000000..d9c31051b5 --- /dev/null +++ b/testing/libc++/no-libunwind-sources.patch @@ -0,0 +1,44 @@ +Shiz created this revision. +Herald added a subscriber: mgorny. + +As per r241993, libunwind_ext.h is not used anymore, and thus only the public libunwind includes are needed. +This eases distro packaging efforts and removes an unneeded requirement for out-of-tree building. + + +Repository: + rL LLVM + +https://reviews.llvm.org/D33178 + +Files: + libcxxabi/CMakeLists.txt + + +Index: libcxxabi/CMakeLists.txt +=================================================================== +--- a/libcxxabi/CMakeLists.txt ++++ b/libcxxabi/CMakeLists.txt +@@ -459,23 +459,7 @@ + NO_DEFAULT_PATH + ) + +- find_path( +- LIBCXXABI_LIBUNWIND_SOURCES +- libunwind_ext.h +- PATHS ${LIBCXXABI_LIBUNWIND_PATH}/src/ +- ${LIBCXXABI_LIBUNWIND_INCLUDES}/../src/ +- ${LLVM_MAIN_SRC_DIR}/projects/libunwind/src/ +- ${LLVM_MAIN_SRC_DIR}/runtimes/libunwind/src/ +- NO_DEFAULT_PATH +- ) +- +- if (LIBCXXABI_LIBUNWIND_SOURCES STREQUAL "LIBCXXABI_LIBUNWIND_SOURCES-NOTFOUND") +- message(WARNING "LIBCXXABI_LIBUNWIND_SOURCES was not specified and couldn't be infered.") +- set(LIBCXXABI_LIBUNWIND_SOURCES "") +- endif() +- + include_directories("${LIBCXXABI_LIBUNWIND_INCLUDES_INTERNAL}") +- include_directories("${LIBCXXABI_LIBUNWIND_SOURCES}") + endif() + + # Add source code. This also contains all of the logic for deciding linker flags |