diff options
Diffstat (limited to 'externals/grill/vasp')
-rw-r--r-- | externals/grill/vasp/config-pd-linux.txt | 2 | ||||
-rw-r--r-- | externals/grill/vasp/makefile.pd-linux | 7 |
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 |