mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-12-22 20:36:01 +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],
|
||||
[*ifort*], [FCFLAGS="$FCFLAGS -nofor-main"],
|
||||
[*nvfortran*], [FCFLAGS="$FCFLAGS -fPIC -Mnomain"],
|
||||
[*pgf90*], [FCFLAGS="$FCFLAGS -fPIC -Mnomain"],
|
||||
[*pgf77*], [FCFLAGS="$FCFLAGS -fPIC -Mnomain"],
|
||||
[])
|
||||
|
||||
AS_CASE([$CC],
|
||||
[*gcc*], [CFLAGS="$CFLAGS -fPIC"],
|
||||
[*nvc*], [CFLAGS="$CFLAGS -fPIC"],
|
||||
[*pgcc*], [CFLAGS="$CFLAGS -fPIC"],
|
||||
[])
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user