[packages/perl-Algorithm-SVM] - fix build on 32bit archs

baggins baggins at pld-linux.org
Sun Jun 9 19:04:32 CEST 2013


commit 91f511bbaf5231b728d69c5ea810af66564e7d7c
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Jun 9 19:04:22 2013 +0200

    - fix build on 32bit archs

 perl-Algorithm-SVM.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/perl-Algorithm-SVM.spec b/perl-Algorithm-SVM.spec
index 0178970..424df30 100644
--- a/perl-Algorithm-SVM.spec
+++ b/perl-Algorithm-SVM.spec
@@ -41,6 +41,7 @@ można dokonywać przewidywań co do kolejnych zbiorów danych.
 
 %build
 %{__perl} Makefile.PL \
+	CCFLAGS="%{rpmcflags} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" \
 	INSTALLDIRS=vendor
 
 # cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
@@ -48,7 +49,7 @@ można dokonywać przewidywań co do kolejnych zbiorów danych.
 
 %{__make} \
 	CC="%{__cxx}" \
-	OPTIMIZE="%{rpmcxxflags}"
+	OPTIMIZE="%{rpmcxxflags} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
 
 %{?with_tests:%{__make} test}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Algorithm-SVM.git/commitdiff/91f511bbaf5231b728d69c5ea810af66564e7d7c



More information about the pld-cvs-commit mailing list