aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/vasp
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2003-11-08 03:45:17 +0000
committerThomas Grill <xovo@users.sourceforge.net>2003-11-08 03:45:17 +0000
commitd60f7df8256c9326c08ce207efe4b5609bc64571 (patch)
treeeb075c3a6796af1dd002366bc6c4ca66af740e61 /externals/grill/vasp
parentf520457f7314ef8432bf4253533f9d56fd74a213 (diff)
""
svn path=/trunk/; revision=1175
Diffstat (limited to 'externals/grill/vasp')
-rw-r--r--externals/grill/vasp/config-pd-linux.txt2
-rw-r--r--externals/grill/vasp/makefile.pd-linux7
2 files changed, 6 insertions, 3 deletions
diff --git a/externals/grill/vasp/config-pd-linux.txt b/externals/grill/vasp/config-pd-linux.txt
index 003e91ea..eec673ee 100644
--- a/externals/grill/vasp/config-pd-linux.txt
+++ b/externals/grill/vasp/config-pd-linux.txt
@@ -35,4 +35,4 @@ HELPDIR=${PD}/doc/5.reference
# UFLAGS=-mcpu=pentiumpro
# define to link against shared flext library (flext version >= 0.5.0)
-FLEXT_SHARED=1
+#FLEXT_SHARED=1
diff --git a/externals/grill/vasp/makefile.pd-linux b/externals/grill/vasp/makefile.pd-linux
index 8da8e37c..1f8f7c09 100644
--- a/externals/grill/vasp/makefile.pd-linux
+++ b/externals/grill/vasp/makefile.pd-linux
@@ -19,8 +19,6 @@ INCLUDES=$(PDINC)
FLAGS=-DFLEXT_SYS=2 -DFLEXT_THREADS
CFLAGS=-O2 ${UFLAGS}
LDFLAGS=-Wl,-s
-LIBS=flext
-
ifdef FLEXT_SHARED
CFLAGS+=-shared -DFLEXT_SHARED
@@ -30,7 +28,12 @@ LDFLAGS+=-i_dynamic
else
LDFLAGS+=-Wl,-Bdynamic
endif
+LIBS=flext
+
+else
+# take threaded flext lib
+LIBS=flext_t
endif