]> git.ipfire.org Git - ipfire.org.git/commitdiff
We also verify the target.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 15 Feb 2009 10:50:41 +0000 (11:50 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 15 Feb 2009 10:50:41 +0000 (11:50 +0100)
build/rpc.py

index 3a660b1b16da4f8e9dd7572bc0067d46971249ab..686ce37c95ece8d9d8550569590f4afe89b4f363 100644 (file)
@@ -47,7 +47,8 @@ def run(uuid, action):
                                                        if myself.uuid == builder.uuid:
                                                                print "localhost/%s" % (builder.jobs() or "4")
                                                        else:
-                                                               if myself.toolchain() == builder.toolchain():
+                                                               if ((myself.toolchain() == builder.toolchain()) and \
+                                                                       (myself.target() == builder.target())):
                                                                        print "%s" % (builder.distcc,)
 
        elif action == "set":