mod_perl2 2.0.3 can not build with compile option '-march=pentium3'.

A wrong code is xs/APR/APR/Makefile.PL.

Argument may contain multiple '=' charactor
such as CCFLAGS="-O2 -pipe -march=pentium3".
--- xs/APR/APR/Makefile.PL.orig Mon Nov 20 08:31:02 2006
+++ xs/APR/APR/Makefile.PL      Sun Dec  3 19:06:41 2006
@@ -15,7 +15,7 @@
 
 my %args;
 
-%args = map { split /=/, $_ } @ARGV;
+%args = map { m/^([^=]*|)=?(.*)$/ } @ARGV;
 
 $args{NAME}         = 'APR';
 $args{VERSION_FROM} = 'APR.pm';

Reply via email to