summarylogtreecommitdiffstats
path: root/clang-70-support.patch
diff options
context:
space:
mode:
Diffstat (limited to 'clang-70-support.patch')
-rw-r--r--clang-70-support.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/clang-70-support.patch b/clang-70-support.patch
new file mode 100644
index 000000000000..4c6adb461f51
--- /dev/null
+++ b/clang-70-support.patch
@@ -0,0 +1,11 @@
+--- LinuxToolChain.cs 2018-10-10 21:03:32.148896937 -0500
++++ LinuxToolChain.cs_new 2018-10-10 21:11:47.556037751 -0500
+@@ -137,7 +137,7 @@
+ throw new BuildException("Unable to build: no compatible clang version found. Please run Setup.sh");
+ }
+ // prevent unknown clangs since the build is likely to fail on too old or too new compilers
+- else if ((CompilerVersionMajor * 10 + CompilerVersionMinor) > 60 || (CompilerVersionMajor * 10 + CompilerVersionMinor) < 38)
++ else if ((CompilerVersionMajor * 10 + CompilerVersionMinor) > 70 || (CompilerVersionMajor * 10 + CompilerVersionMinor) < 38)
+ {
+ throw new BuildException(
+ string.Format("This version of the Unreal Engine can only be compiled with clang 6.0, 5.0, 4.0, 3.9, 3.8. clang {0} may not build it - please use a different version.",