From ccbd73cd8da669673807f936a37032faa31cb25b Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Sun, 23 Aug 2009 21:28:23 +0000 Subject: Fixed "gcc: no input files" message. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22482 a1c6a512-1295-4272-9138-f99709370657 --- tools/multigcc.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/multigcc.pl b/tools/multigcc.pl index 9a43bdb31f..fbe7c17aae 100755 --- a/tools/multigcc.pl +++ b/tools/multigcc.pl @@ -16,6 +16,8 @@ for my $a (@ARGV) { push @{$list}, $a; } +exit if (not @files); + my $command = join " ", @params; # shuffle the file list to spread the load as evenly as we can @@ -29,7 +31,7 @@ if (open CPUINFO, "