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