ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/src/BuildSystem/BuildFile.pm
(Generate patch)

Comparing COMP/SCRAM/src/BuildSystem/BuildFile.pm (file contents):
Revision 1.23 by sashby, Wed Oct 23 07:35:39 2002 UTC vs.
Revision 1.24 by sashby, Wed Nov 6 17:31:04 2002 UTC

# Line 1263 | Line 1263 | sub CompilerMap_Start
1263     my $hashref=shift;
1264  
1265     $self->verbose(">> CompilerMap_Start: NM ".$name." <<");
1266   print "compiler check....",$self->{Arch},"\n";
1267   print "ARCH: ",$self->{ArchStack},"\n";
1266     # We can only map compilers to already-defined architectures, so
1267     # we check for 'Arch':
1268     if ( $self->{Arch} )
# Line 1276 | Line 1274 | sub CompilerMap_Start
1274           {
1275           $self->{switch}->checktag($name,$hashref,$tag);
1276           print GNUmakefile $tag."=".$$hashref{$tag}."\n";
1279 #       if ( defined $$hashref{'version'} ) {
1280 #               print GNUmakefile "_V_".$$hashref{'version'};
1281 #       }
1282 #       print GNUmakefile "=true\n";
1277  
1278 +         if ( defined $$hashref{'version'} )
1279 +            {
1280 +            print GNUmakefile "_V_".$$hashref{'version'};
1281 +            }
1282 +         print GNUmakefile "=true\n";
1283           }
1284   #        $self->{switch}->checktag($name,$hashref,'ref');
1285  
# Line 1327 | Line 1326 | sub CompilerMap_Start
1326        }
1327     else
1328        {
1329 <      print "No architecture defined: not possible to define a compiler-to-subarch mapping.","\n";
1329 >      return;
1330        }
1331     }
1332  
1333 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines