perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@apache.org
Subject cvs commit: modperl-2.0/lib/Apache Build.pm
Date Fri, 12 Oct 2001 00:23:51 GMT
dougm       01/10/11 17:23:51

  Modified:    lib/Apache Build.pm
  Log:
  fixup hpux cflags
  
  Revision  Changes    Path
  1.49      +16 -1     modperl-2.0/lib/Apache/Build.pm
  
  Index: Build.pm
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/lib/Apache/Build.pm,v
  retrieving revision 1.48
  retrieving revision 1.49
  diff -u -r1.48 -r1.49
  --- Build.pm	2001/10/11 19:32:43	1.48
  +++ Build.pm	2001/10/12 00:23:50	1.49
  @@ -178,10 +178,25 @@
       $ccopts;
   }
   
  +sub ccopts_hpux {
  +    my $cflags = shift;
  +    #return if $Config{cc} eq 'gcc'; #XXX?
  +    return if $$cflags =~ /(-Ae|\+e)/;
  +    $$cflags .= " -Ae";
  +}
  +
   sub ccopts {
       my($self) = @_;
  +
  +    my $cflags = $self->strip_lfs(ExtUtils::Embed::ccopts()) .
  +      $self->ap_ccopts;
  +
  +    my $fixup = \&{"ccopts_$^O"};
  +    if (defined &$fixup) {
  +        $fixup->(\$cflags);
  +    }
   
  -    $self->strip_lfs(ExtUtils::Embed::ccopts()) . $self->ap_ccopts;
  +    $cflags;
   }
   
   sub perl_config {
  
  
  

Mime
View raw message