Created
April 19, 2016 23:28
-
-
Save jdrouhard/d6daddcfb7abf78d2aee82402c28ebd5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/client/remote.cpp b/client/remote.cpp | |
index 82b145c..250ef47 100644 | |
--- a/client/remote.cpp | |
+++ b/client/remote.cpp | |
@@ -711,11 +711,16 @@ maybe_build_local(MsgChannel *local_daemon, UseCSMsg *usecs, CompileJob &job, | |
} | |
// Minimal version of remote host that we want to use for the job. | |
-static int minimalRemoteVersion( const CompileJob& ) | |
+static int minimalRemoteVersion( const CompileJob& job) | |
{ | |
int version = MIN_PROTOCOL_VERSION; | |
- if( ignore_unverified()) | |
+ if (ignore_unverified()) { | |
version = max( version, 31 ); | |
+ } | |
+ | |
+ if (job.dwarfFissionEnabled()) { | |
+ version = max( version, 35); | |
+ } | |
return version; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looks good to me.