mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-11-03 20:54:09 +01:00
Add options for PGCC and PGF90 compilers
This commit is contained in:
parent
d6ddfda80a
commit
1c5713f2f6
@ -259,11 +259,14 @@ AS_IF([test "$BLAS_LIBS" = "$LAPACK_LIBS"], [BLAS_LIBS=""])
|
|||||||
AS_CASE([$FC],
|
AS_CASE([$FC],
|
||||||
[*ifort*], [FCFLAGS="$FCFLAGS -nofor-main"],
|
[*ifort*], [FCFLAGS="$FCFLAGS -nofor-main"],
|
||||||
[*nvfortran*], [FCFLAGS="$FCFLAGS -fPIC -Mnomain"],
|
[*nvfortran*], [FCFLAGS="$FCFLAGS -fPIC -Mnomain"],
|
||||||
|
[*pgf90*], [FCFLAGS="$FCFLAGS -fPIC -Mnomain"],
|
||||||
|
[*pgf77*], [FCFLAGS="$FCFLAGS -fPIC -Mnomain"],
|
||||||
[])
|
[])
|
||||||
|
|
||||||
AS_CASE([$CC],
|
AS_CASE([$CC],
|
||||||
[*gcc*], [CFLAGS="$CFLAGS -fPIC"],
|
[*gcc*], [CFLAGS="$CFLAGS -fPIC"],
|
||||||
[*nvc*], [CFLAGS="$CFLAGS -fPIC"],
|
[*nvc*], [CFLAGS="$CFLAGS -fPIC"],
|
||||||
|
[*pgcc*], [CFLAGS="$CFLAGS -fPIC"],
|
||||||
[])
|
[])
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user