diff options
Diffstat (limited to 'make/run-cc.pl')
-rwxr-xr-x | make/run-cc.pl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/make/run-cc.pl b/make/run-cc.pl index 4c07632f3..71a921c61 100755 --- a/make/run-cc.pl +++ b/make/run-cc.pl @@ -86,8 +86,13 @@ foreach my $n (@ARGV) { $action = "BUILD"; $name = $n; + last; } - elsif ($n !~ /\.^-c/) + elsif ($n eq "-o") + { + $action = $name = $n; + } + elsif ($name eq "-o") { $action = "LINK"; $name = $n; |