You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl-cvs@perl.apache.org by go...@apache.org on 2007/07/11 20:42:39 UTC

svn commit: r555364 - /perl/modperl/branches/1.x/Makefile.PL

Author: gozer
Date: Wed Jul 11 11:42:38 2007
New Revision: 555364

URL: http://svn.apache.org/viewvc?view=rev&rev=555364
Log:
Get rid of a very old broken piece of Makefile.PL code
that post processes PERL_EXTRA_CLFAGS, effectively doing
s/,/ /g.

That's breaking CFLAGS with valid ',' in their values, like
-Wl,foo.


Modified:
    perl/modperl/branches/1.x/Makefile.PL

Modified: perl/modperl/branches/1.x/Makefile.PL
URL: http://svn.apache.org/viewvc/perl/modperl/branches/1.x/Makefile.PL?view=diff&rev=555364&r1=555363&r2=555364
==============================================================================
--- perl/modperl/branches/1.x/Makefile.PL (original)
+++ perl/modperl/branches/1.x/Makefile.PL Wed Jul 11 11:42:38 2007
@@ -543,11 +543,6 @@
     }
 }
 
-if ($PERL_EXTRA_CFLAGS) {
-    $PERL_EXTRA_CFLAGS = join(" ", split(",",  $PERL_EXTRA_CFLAGS));
-    $PERL_EXTRA_CFLAGS =~ s/\s+/ /g;
-}
-
 if ($PERL_DEBUG) {
     my $lib = "$Config{archlibexp}/CORE/libperld$Config{lib_ext}";
     if (-e $lib) {