Date: Fri, 20 Dec 2013 16:34:00 +0000 (UTC) From: Tijl Coosemans <tijl@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337035 - head/Mk/Uses Message-ID: <201312201634.rBKGY0Do035827@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tijl Date: Fri Dec 20 16:33:59 2013 New Revision: 337035 URL: http://svnweb.freebsd.org/changeset/ports/337035 Log: Add the directory with GCC runtime libraries to LDFLAGS. This lets Clang find the right libgcc_s when it links object files produced by gfortran. Modified: head/Mk/Uses/fortran.mk Modified: head/Mk/Uses/fortran.mk ============================================================================== --- head/Mk/Uses/fortran.mk Fri Dec 20 16:32:17 2013 (r337034) +++ head/Mk/Uses/fortran.mk Fri Dec 20 16:33:59 2013 (r337035) @@ -23,7 +23,8 @@ USE_BINUTILS= yes F77= gfortran${_GCC_VER} FC= gfortran${_GCC_VER} FFLAGS+= -Wl,-rpath=${LOCALBASE}/lib/gcc${_GCC_VER} -LDFLAGS+= -Wl,-rpath=${LOCALBASE}/lib/gcc${_GCC_VER} +LDFLAGS+= -Wl,-rpath=${LOCALBASE}/lib/gcc${_GCC_VER} \ + -L${LOCALBASE}/lib/gcc${_GCC_VER} .elif ${fortran_ARGS} == ifort BUILD_DEPENDS+= ${LOCALBASE}/intel_fc_80/bin/ifort:${PORTSDIR}/lang/ifc RUN_DEPENDS+= ${LOCALBASE}/intel_fc_80/bin/ifort:${PORTSDIR}/lang/ifc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312201634.rBKGY0Do035827>