Commit 23723262 authored by Sylvestre Ledru's avatar Sylvestre Ledru

rebase of the patch

parent a0f724db
......@@ -2,11 +2,11 @@
tools/llvm-config/llvm-config.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: llvm-toolchain-snapshot_5.0~svn298810/tools/llvm-config/llvm-config.cpp
Index: llvm-toolchain-7_7.1.0~svn353565/tools/llvm-config/llvm-config.cpp
===================================================================
--- llvm-toolchain-snapshot_5.0~svn298810.orig/tools/llvm-config/llvm-config.cpp
+++ llvm-toolchain-snapshot_5.0~svn298810/tools/llvm-config/llvm-config.cpp
@@ -555,9 +555,9 @@ int main(int argc, char **argv) {
--- llvm-toolchain-7_7.1.0~svn353565.orig/tools/llvm-config/llvm-config.cpp
+++ llvm-toolchain-7_7.1.0~svn353565/tools/llvm-config/llvm-config.cpp
@@ -558,9 +558,9 @@ int main(int argc, char **argv) {
} else if (Arg == "--shared-mode") {
PrintSharedMode = true;
} else if (Arg == "--obj-root") {
......
Index: llvm-toolchain-7-7.0.1/tools/llvm-config/CMakeLists.txt
Index: llvm-toolchain-7_7.1.0~svn353565/tools/llvm-config/CMakeLists.txt
===================================================================
--- llvm-toolchain-7-7.0.1.orig/tools/llvm-config/CMakeLists.txt
+++ llvm-toolchain-7-7.0.1/tools/llvm-config/CMakeLists.txt
--- llvm-toolchain-7_7.1.0~svn353565.orig/tools/llvm-config/CMakeLists.txt
+++ llvm-toolchain-7_7.1.0~svn353565/tools/llvm-config/CMakeLists.txt
@@ -32,9 +32,9 @@ get_property(COMPILE_FLAGS TARGET llvm-c
# Use configure_file to create BuildVariables.inc.
set(LLVM_SRC_ROOT ${LLVM_MAIN_SRC_DIR})
......@@ -14,4 +14,4 @@ Index: llvm-toolchain-7-7.0.1/tools/llvm-config/CMakeLists.txt
+set(LLVM_CXXFLAGS "${COMPILE_FLAGS} ${LLVM_DEFINITIONS}")
set(LLVM_BUILD_SYSTEM cmake)
set(LLVM_HAS_RTTI ${LLVM_CONFIG_HAS_RTTI})
set(LLVM_DYLIB_VERSION "${LLVM_VERSION_MAJOR}${LLVM_VERSION_SUFFIX}")
set(LLVM_DYLIB_VERSION "${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}${LLVM_VERSION_SUFFIX}")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment