compile qm/mm library with -fPIC to be compatible with shared library builds

This commit is contained in:
Axel Kohlmeyer
2015-06-29 14:36:36 -04:00
parent 417a56728c
commit 6b8b7c14a6

View File

@ -11,7 +11,7 @@ sinclude $(QETOPDIR)/make.sys
# FLAGS for c++ OpenMPI when QE was compiled with GNU Fortran 4.x
MPICXX=mpicxx
MPICXXFLAGS=-DOMPI_SKIP_MPICXX=1 -O2 -Wall -g \
MPICXXFLAGS=-DOMPI_SKIP_MPICXX=1 -O2 -Wall -g -fPIC\
-I../../src -I$(QETOPDIR)/COUPLE/include
MPILIBS=-fopenmp -lgfortran -ldl -ljpeg -lpng -lz -lmpi_f77 -lmpi