Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=fc4c38d2d9f425d1002802f94217a4a233957ba8

commit fc4c38d2d9f425d1002802f94217a4a233957ba8
Author: Melko <me...@frugalware.org>
Date:   Sun Sep 11 13:56:34 2011 +0200

lapack-3.3.1-2-i686

* add -FPIC to x86_64 build

diff --git a/source/lib-extra/lapack/FrugalBuild 
b/source/lib-extra/lapack/FrugalBuild
index afd9b32..085353c 100644
--- a/source/lib-extra/lapack/FrugalBuild
+++ b/source/lib-extra/lapack/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=lapack
pkgver=3.3.1
-pkgrel=1
+pkgrel=2
pkgdesc="Linear Algebra PACKage."
url="http://www.netlib.org/lapack";
makedepends=('gcc-gfortran')
@@ -24,6 +24,7 @@ subgroups=('lib-extra')
subarchs=('i686 x86_64')

build() {
+       [ "$CARCH" == "x86_64" ] && export CXXFLAGS="$CXXFLAGS -fPIC"
Fcd
cp INSTALL/make.inc.gfortran make.inc
patch <$Fsrcdir/make.inc.diff
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to