summaryrefslogtreecommitdiffstats
path: root/src/llvm-1-build-without-tools.patch
diff options
context:
space:
mode:
Diffstat (limited to 'src/llvm-1-build-without-tools.patch')
-rw-r--r--src/llvm-1-build-without-tools.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/llvm-1-build-without-tools.patch b/src/llvm-1-build-without-tools.patch
new file mode 100644
index 0000000..7af9a79
--- /dev/null
+++ b/src/llvm-1-build-without-tools.patch
@@ -0,0 +1,20 @@
+This file is part of MXE.
+See index.html for further information.
+
+This patch has been taken from:
+http://thread.gmane.org/gmane.comp.compilers.llvm.cvs/128419/focus=128572
+
+diff -ur llvm-3.2.src.orig/cmake/modules/AddLLVM.cmake llvm-3.2.src/cmake/modules/AddLLVM.cmake
+--- llvm-3.2.src.orig/cmake/modules/AddLLVM.cmake 2012-12-27 14:33:13.000000000 +1100
++++ llvm-3.2.src/cmake/modules/AddLLVM.cmake 2012-12-27 14:35:37.000000000 +1100
+@@ -277,7 +277,9 @@
+ COMMAND ${LIT_COMMAND} ${ARG_DEFAULT_ARGS}
+ COMMENT "${comment}"
+ )
+- add_dependencies(${target} ${ARG_DEPENDS})
++ if( ARG_DEPENDS )
++ add_dependencies(${target} ${ARG_DEPENDS})
++ endif()
+ endfunction()
+
+ # A function to add a set of lit test suites to be driven through 'check-*' targets.