Skip to content

Commit

Permalink
Mk/Uses/fortran.mk: introduce a new CFLAGS for ISO_Fortran_binding.h
Browse files Browse the repository at this point in the history
Define CFLAGS_F2018: if needed it will point towards the directory
containing ISO_Fortran_binding. (installed by GCC).

PR:		275431
  • Loading branch information
thierry-FreeBSD committed Dec 5, 2023
1 parent 3c2b953 commit dd37ac8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Mk/Uses/fortran.mk
Expand Up @@ -29,6 +29,7 @@ F90FLAGS+= -Wl,-rpath=${LOCALBASE}/lib/gcc${_GCC_VER}
FCFLAGS+= -Wl,-rpath=${LOCALBASE}/lib/gcc${_GCC_VER}
LDFLAGS+= -Wl,-rpath=${LOCALBASE}/lib/gcc${_GCC_VER} \
-L${LOCALBASE}/lib/gcc${_GCC_VER}
CFLAGS_F2018= -I${LOCALBASE}/include/gcc${_GCC_VER}
. else
IGNORE= USES=fortran: invalid arguments: ${fortran_ARGS}
. endif
Expand Down

0 comments on commit dd37ac8

Please sign in to comment.