1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

Reference the GCC run-time libraries via FFLAGS, too, in addition to

CFLAGS and LDFLAGS, if USE_FORTRAN=yes has been specified.

Submitted by:	bf
This commit is contained in:
Gerald Pfeifer 2011-10-08 07:37:53 +00:00
parent cbbedb03ef
commit 0e5f319fdb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=283163

View File

@ -182,6 +182,9 @@ CPP:= cpp${V}
. if ${_USE_GCC} != 3.4
CFLAGS+= -Wl,-rpath=${LOCALBASE}/lib/${_GCC_BUILD_DEPENDS}
LDFLAGS+= -Wl,-rpath=${LOCALBASE}/lib/${_GCC_BUILD_DEPENDS}
. if ${USE_FORTRAN} == yes
FFLAGS+= -Wl,-rpath=${LOCALBASE}/lib/${_GCC_BUILD_DEPENDS}
. endif
. endif
. endif
. endif