Commit 215cc253 by Francois Gygi

static link to libgfortran to improve portability of executable.


git-svn-id: http://qboxcode.org/svn/qb/trunk@615 cba15fb0-1239-40c8-b417-11db7ca47a34
parent 13d0ebdd
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# x8664_gcc.mk # x8664_gcc.mk
# #
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# $Id: x8664_gcc.mk,v 1.8 2008-04-18 03:40:57 fgygi Exp $ # $Id: x8664_gcc.mk,v 1.9 2008-05-23 03:28:38 fgygi Exp $
# #
PLT=Linux_x8664 PLT=Linux_x8664
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
...@@ -34,8 +34,10 @@ ...@@ -34,8 +34,10 @@
-L$(XERCESCDIR)/lib -L$(XERCESCDIR)/lib
LIBS = $(PLIBS) -lfftw \ LIBS = $(PLIBS) -lfftw \
-llapack -lf77blas -latlas -lm -lgfortran \ -llapack -lf77blas -latlas -lm \
$(MPIDIR)/lib/libmpich.a $(XERCESCDIR)/lib/libxerces-c.a -Xlinker -Bstatic \
-lc -lgfortran -static-libgcc -lmpich -lxerces-c \
-Xlinker -Bdynamic
LDFLAGS = $(LIBPATH) $(LIBS) LDFLAGS = $(LIBPATH) $(LIBS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment