[Lunar-commits] <moonbase> SuiteSparse: Adjusting the BUILD.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Sun May 8 16:49:27 CEST 2011


commit 22b5842977231dc626e595cfd2c6ca6555503a7e
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Sun May 8 10:49:27 2011 -0400

    SuiteSparse: Adjusting the BUILD.
---
 science/SuiteSparse/BUILD |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/science/SuiteSparse/BUILD b/science/SuiteSparse/BUILD
index 9af068b..f7ee906 100644
--- a/science/SuiteSparse/BUILD
+++ b/science/SuiteSparse/BUILD
@@ -1,5 +1,8 @@
 (
 
+  CFLAGS+=" -fPIC"   &&
+  CXXFLAGS+=" -fPIC" &&
+
   sedit "s:/usr/local/:/usr/:" UFconfig/UFconfig.mk &&
   sedit "s:CC = cc:CC = gcc:" metis-4.0/Makefile.in &&
   sedit "s:OPTFLAGS = -O2:OPTFLAGS = -O3 -fPIC:" metis-4.0/Makefile.in &&
@@ -8,10 +11,9 @@
   make  &&
   cd $SOURCE_DIRECTORY &&
 
-
-  make CFLAGS+=" -fPIC" CXXFLAGS+=" -fPIC" library &&
-  prepare_install    &&
-  make install       &&
+  make CFLAGS+=" -fPIC" library &&
+  prepare_install  &&
+  make install     &&
   
   install metis-4.0/libmetis.a /usr/lib/ 
 


More information about the Lunar-commits mailing list