Enable non-gfortran compilation

Last-Updated: 2020-01-13
Forwarded: no


Gbp-Pq: Name pkg-config.patch
This commit is contained in:
Alastair McKinstry 2022-11-01 14:46:00 +08:00 committed by luoyaoming
parent dd2dce49aa
commit d788d7278d
1 changed files with 5 additions and 1 deletions

View File

@ -11,6 +11,10 @@ exec_prefix=@exec_prefix@
includedir=@includedir@ includedir=@includedir@
libdir=@libdir@ libdir=@libdir@
pkgincludedir=@opalincludedir@ pkgincludedir=@opalincludedir@
# override $fortran with --define-variable when building on non-gfortran compile
fortran=gfortran
fortrandir=${libdir}/../../fortran/${fortran}
# #
# Note that -lopen-pal and all the EXTRA_LIBS are only necessary when # Note that -lopen-pal and all the EXTRA_LIBS are only necessary when
# static linking (they're pulled in by libopen-rte.so's implicit # static linking (they're pulled in by libopen-rte.so's implicit