SOURCES: pldcpan.pl - pass CC to make

glen glen at pld-linux.org
Thu Jan 10 09:40:10 CET 2008


Author: glen                         Date: Thu Jan 10 08:40:10 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- pass CC to make

---- Files affected:
SOURCES:
   pldcpan.pl (1.49 -> 1.50) 

---- Diffs:

================================================================
Index: SOURCES/pldcpan.pl
diff -u SOURCES/pldcpan.pl:1.49 SOURCES/pldcpan.pl:1.50
--- SOURCES/pldcpan.pl:1.49	Sat Nov 10 23:14:19 2007
+++ SOURCES/pldcpan.pl	Thu Jan 10 09:40:04 2008
@@ -828,6 +828,7 @@
 %{__perl} Makefile.PL \
 	INSTALLDIRS=vendor
 %{__make}[% IF test_is_xs -%] \
+	CC="%{__cc}" \
 	OPTIMIZE="%{rpmcflags}"[% END %]
 
 %{?with_tests:%{__make} test}
@@ -835,6 +836,7 @@
 %{__perl} -MExtUtils::MakeMaker -wle 'WriteMakefile(NAME=>"[% parts_joined %]")' \
 	INSTALLDIRS=vendor
 %{__make}[% IF test_is_xs -%] \
+	CC="%{__cc}" \
 	OPTIMIZE="%{rpmcflags}"[% END %]
 
 %{?with_tests:%{__make} test}
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/pldcpan.pl?r1=1.49&r2=1.50&f=u



More information about the pld-cvs-commit mailing list