aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.gcc.mk
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@FreeBSD.org>2011-10-08 07:37:53 +0000
committerGerald Pfeifer <gerald@FreeBSD.org>2011-10-08 07:37:53 +0000
commit0e5f319fdb36801ae2a584d2bf67915c5f930a61 (patch)
tree3ee8b176b4c39d465e9939e40f06f7bc3d69492d /Mk/bsd.gcc.mk
parentcbbedb03ef23072ca8fbc9178c50cbf6d5b42ba3 (diff)
downloadports-0e5f319fdb36801ae2a584d2bf67915c5f930a61.tar.gz
ports-0e5f319fdb36801ae2a584d2bf67915c5f930a61.zip
Notes
Diffstat (limited to 'Mk/bsd.gcc.mk')
-rw-r--r--Mk/bsd.gcc.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/Mk/bsd.gcc.mk b/Mk/bsd.gcc.mk
index 7c825ec4a94a..f9d05efce522 100644
--- a/Mk/bsd.gcc.mk
+++ b/Mk/bsd.gcc.mk
@@ -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