fixed for more strict gcc syntax
This commit is contained in:
parent
e58504c3f3
commit
db2442486d
12
autoTest.pl
12
autoTest.pl
|
@ -555,11 +555,23 @@ foreach $l (@langs)
|
|||
if(length($compiler) < 5) {print results "\t";}
|
||||
if($data{$l}{"cflagspre$cp"}) { $cmd .= $data{$l}{"cflagspre$cp"};}
|
||||
$cmd .= "$comp ";
|
||||
# So gcc stoped compiling if teh linking was done before the soruce file was specified
|
||||
# go figure
|
||||
$gcc_code = 0;
|
||||
if ($l =~ /^ca?[23]?$/) {
|
||||
$gcc_code = 1;
|
||||
}
|
||||
|
||||
if( $gcc_code) {
|
||||
$cmd .= " ".$data{$l}{"src"}." ";
|
||||
}
|
||||
if( $data{$l}{"cflags$cp"} )
|
||||
{
|
||||
$cmd .= $data{$l}{"cflags$cp"};
|
||||
}
|
||||
if ( ! $gcc_code) {
|
||||
$cmd .= " ".$data{$l}{"src"}." ";
|
||||
}
|
||||
$cmd .= "\\\"\"";
|
||||
|
||||
#printf "CMD: '$cmd'\n";
|
||||
|
|
Loading…
Reference in New Issue