xsubpp flags from the command line
authorIlya Zakharevich <ilya@math.berkeley.edu>
Tue, 26 Jun 2001 17:27:07 +0000 (13:27 -0400)
committerJarkko Hietaniemi <jhi@iki.fi>
Tue, 26 Jun 2001 21:31:51 +0000 (21:31 +0000)
Message-ID: <20010626172707.A27097@math.ohio-state.edu>

p4raw-id: //depot/perl@10974

lib/ExtUtils/MM_Unix.pm

index a9e7ad4..99fbef0 100644 (file)
@@ -3612,6 +3612,7 @@ XSUBPP = \$(XSUBPPDIR)/$xsubpp
 XSPROTOARG = $self->{XSPROTOARG}
 XSUBPPDEPS = @tmdeps \$(XSUBPP)
 XSUBPPARGS = @tmargs
+XSUBPP_EXTRA_ARGS = 
 };
 };
 
@@ -3790,7 +3791,7 @@ sub xs_c {
     return '' unless $self->needs_linking();
     '
 .xs.c:
-       $(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) $(XSUBPP) $(XSPROTOARG) $(XSUBPPARGS) $*.xs > $*.xsc && $(MV) $*.xsc $*.c
+       $(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) $(XSUBPP) $(XSPROTOARG) $(XSUBPPARGS) $(XSUBPP_EXTRA_ARGS) $*.xs > $*.xsc && $(MV) $*.xsc $*.c
 ';
 }