summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-01-11 18:09:55 +0100
committerMichał Górny <mgorny@gentoo.org>2017-01-11 20:12:41 +0100
commit7bb6bfaffcd296db204e5ffc686d5cad1c0d5262 (patch)
tree96f172d3663a938cda06a00e5fc3431d2fa8402c /sys-devel/llvm/files
parentdev-python/zeep: Version bump (diff)
downloadgentoo-7bb6bfaffcd296db204e5ffc686d5cad1c0d5262.tar.gz
gentoo-7bb6bfaffcd296db204e5ffc686d5cad1c0d5262.tar.bz2
gentoo-7bb6bfaffcd296db204e5ffc686d5cad1c0d5262.zip
sys-devel/llvm: Update llvm-config patch for -9999
Remove the system-libs bits from the llvm-config patch since they are no longer necessary now that 'llvm-config --system-libs' does not output any libraries when using shared linking.
Diffstat (limited to 'sys-devel/llvm/files')
-rw-r--r--sys-devel/llvm/files/9999/0007-llvm-config-Clean-up-exported-values-update-for-shar.patch11
1 files changed, 0 insertions, 11 deletions
diff --git a/sys-devel/llvm/files/9999/0007-llvm-config-Clean-up-exported-values-update-for-shar.patch b/sys-devel/llvm/files/9999/0007-llvm-config-Clean-up-exported-values-update-for-shar.patch
index 5a5bb0a774d5..32213040a8a5 100644
--- a/sys-devel/llvm/files/9999/0007-llvm-config-Clean-up-exported-values-update-for-shar.patch
+++ b/sys-devel/llvm/files/9999/0007-llvm-config-Clean-up-exported-values-update-for-shar.patch
@@ -7,7 +7,6 @@ Subject: [PATCH] llvm-config: Clean up exported values, update for shared
Gentoo-specific fixup for llvm-config, including:
- wiping build-specific CFLAGS, CXXFLAGS,
- updating library suffixes for shared libs,
-- wiping --system-libs for shared linking,
- making --src-root return invalid path (/dev/null),
- making --build-mode return "Release" rather than "Gentoo".
@@ -39,16 +38,6 @@ index 744fa4e44d1..593788aaef3 100644
set(LLVM_BUILD_SYSTEM cmake)
set(LLVM_HAS_RTTI ${LLVM_CONFIG_HAS_RTTI})
set(LLVM_DYLIB_VERSION "${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}${LLVM_VERSION_SUFFIX}")
-@@ -46,7 +50,8 @@ endif()
- # Use the C++ link flags, since they should be a superset of C link flags.
- set(LLVM_LDFLAGS "${CMAKE_CXX_LINK_FLAGS}")
- set(LLVM_BUILDMODE ${CMAKE_BUILD_TYPE})
--set(LLVM_SYSTEM_LIBS ${SYSTEM_LIBS})
-+# We don't do static libs, so we don't need to supply any system-libs
-+set(LLVM_SYSTEM_LIBS "")
- if(BUILD_SHARED_LIBS)
- set(LLVM_ENABLE_SHARED ON)
- else()
diff --git a/tools/llvm-config/llvm-config.cpp b/tools/llvm-config/llvm-config.cpp
index d780094861c..c61c72ff48c 100644
--- a/tools/llvm-config/llvm-config.cpp