[packages/perl-Math-GSL] fix passing compiler flags

atler atler at pld-linux.org
Tue May 11 18:43:14 CEST 2021


commit 484aad366d27ef4e37811ac93e99e0ab35691bed
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue May 11 18:40:42 2021 +0200

    fix passing compiler flags

 perl-Math-GSL.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/perl-Math-GSL.spec b/perl-Math-GSL.spec
index 53772d0..5685276 100644
--- a/perl-Math-GSL.spec
+++ b/perl-Math-GSL.spec
@@ -57,8 +57,8 @@ udostępnić te funkcje "tkscope" w module Audio::Data.
 mkdir .git
 
 %build
+export CC_FLAGS="%{rpmcppflags} %{rpmcflags}"
 %{__perl} Build.PL \
-	config="optimize='%{rpmcflags}'" \
 	destdir=$RPM_BUILD_ROOT \
 	installdirs=vendor
 ./Build
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Math-GSL.git/commitdiff/484aad366d27ef4e37811ac93e99e0ab35691bed



More information about the pld-cvs-commit mailing list