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

commit 523f11ae0d579186baae0282c2334b4621d624a6
Author: Elentir <elen...@frugalware.org>
Date:   Sun Sep 19 22:45:19 2010 +0200

singular-3.1.1-1-i686

* add -fPIC for x86_64

diff --git a/source/apps-extra/singular/FrugalBuild 
b/source/apps-extra/singular/FrugalBuild
index 38eef8b..550e663 100644
--- a/source/apps-extra/singular/FrugalBuild
+++ b/source/apps-extra/singular/FrugalBuild
@@ -25,6 +25,11 @@ Fconfopts="--prefix=$Fdestdir/usr 
--exec_prefix=$Fdestdir/usr \
unset MAKEFLAGS

build() {
+       if [ "${CARCH}" = "x86_64" ]; then
+               export CFLAGS="${CFLAGS} -fPIC"
+               export CXXFLAGS="${CXXFLAGS} -fPIC"
+       fi
+
Fpatchall
Fmake
make install-nolns || Fdie
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to