stas 2004/09/18 08:36:34
Modified: lib/Apache Build.pm
Log:
$ENV{CFLAGS} could be undef
Revision Changes Path
1.176 +1 -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.175
retrieving revision 1.176
diff -u -u -r1.175 -r1.176
--- Build.pm 18 Sep 2004 15:35:55 -0000 1.175
+++ Build.pm 18 Sep 2004 15:36:34 -0000 1.176
@@ -284,7 +284,7 @@
#XXX: -Wall and/or -Werror at httpd configure time breaks things
local $ENV{CFLAGS} = join ' ', grep { ! /\-Wall|\-Werror/ }
- split /\s+/, $ENV{CFLAGS};
+ split /\s+/, $ENV{CFLAGS} || '';
my $cd = qq(cd $self->{MP_AP_PREFIX});
my $cmd = qq(./configure $self->{MP_AP_CONFIGURE});