56
my $txt = $self -> MM::cflags (@_) ;
59
{ # with Apache 2, make sure we have the same defines as mod_perl
60
$txt =~ s/-O\d//g if ($ccdebug =~ /-O\d/) ;
61
$txt =~ /CCFLAGS\s*=(.*?)\n/s ;
62
my $flags = $mp2cfg->{MODPERL_CCOPTS} || $1 ;
63
$txt =~ s/CCFLAGS\s*=(.*?)\n/CCFLAGS = $ccdebug $flags\n/s ;
67
$txt =~ s/-O\d//g if ($ccdebug =~ /-O\d/) ;
68
$txt =~ s/CCFLAGS\s*=/CCFLAGS = $ccdebug / ;