[packages/perl-rpm-build-perl] - pass CC and OPTIMIZE for .so module

qboosh qboosh at pld-linux.org
Wed Nov 16 16:57:44 CET 2016


commit 32adebb4e2e31c186ee8f708b819ce0305c17957
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Nov 16 16:57:52 2016 +0100

    - pass CC and OPTIMIZE for .so module

 perl-rpm-build-perl.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/perl-rpm-build-perl.spec b/perl-rpm-build-perl.spec
index ff8525b..da06db2 100644
--- a/perl-rpm-build-perl.spec
+++ b/perl-rpm-build-perl.spec
@@ -41,7 +41,9 @@ Moduł ten znajduje zależności dla źródeł perlowych.
 %build
 %{__perl} Makefile.PL \
 	INSTALLDIRS=vendor
-%{__make}
+%{__make} \
+	CC="%{__cc}" \
+	OPTIMIZE="%{rpmcflags}"
 
 %{?with_tests:%{__make} test}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-rpm-build-perl.git/commitdiff/32adebb4e2e31c186ee8f708b819ce0305c17957



More information about the pld-cvs-commit mailing list