diff options
Diffstat (limited to 'science')
-rw-r--r-- | science/cgnslib/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/science/cgnslib/Makefile b/science/cgnslib/Makefile index 471819e7794c..45a191615689 100644 --- a/science/cgnslib/Makefile +++ b/science/cgnslib/Makefile @@ -23,7 +23,7 @@ MAKE_JOBS_UNSAFE= yes #CMAKE_ARGS= -DOpenGL_GL_PREFERENCE:STRING="GLVND" CMAKE_ARGS= -DOpenGL_GL_PREFERENCE:STRING="LEGACY" -FFLAGS+= -fPIC -std=legacy +FFLAGS= -fPIC TEST_TARGET= test OPTIONS_DEFINE= FORTRAN HDF5 TESTS TOOLS @@ -59,6 +59,10 @@ TOOLS_CMAKE_ON= -DTCL_INCLUDE_PATH:STRING="${TCL_INCLUDEDIR}" \ CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif +.if ${FORTRAN_DEFAULT} != flang +FFLAGS+= -std=legacy +.endif + pre-configure: ${REINPLACE_CMD} -e 's|tk-private/||' ${WRKSRC}/src/cgnstools/tkogl/tkogl.c |