Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Dec 2013 22:36:21 +0000 (UTC)
From:      Gerald Pfeifer <gerald@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335855 - head/Mk
Message-ID:  <201312072236.rB7MaLoa058495@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gerald
Date: Sat Dec  7 22:36:21 2013
New Revision: 335855
URL: http://svnweb.freebsd.org/changeset/ports/335855

Log:
  Explicitly include the GCC run time directory in LDFLAGS.  This should
  not be necessary when linking with GCC, but that's not the only way the
  link process can be invoked.
  
  PR:		182136

Modified:
  head/Mk/bsd.gcc.mk

Modified: head/Mk/bsd.gcc.mk
==============================================================================
--- head/Mk/bsd.gcc.mk	Sat Dec  7 22:27:12 2013	(r335854)
+++ head/Mk/bsd.gcc.mk	Sat Dec  7 22:36:21 2013	(r335855)
@@ -209,7 +209,7 @@ CPP:=			cpp${V}
 _GCC_RUNTIME:=		${LOCALBASE}/lib/gcc${V}
 CFLAGS+=		-Wl,-rpath=${_GCC_RUNTIME}
 CXXFLAGS+=		-Wl,-rpath=${_GCC_RUNTIME}
-LDFLAGS+=		-Wl,-rpath=${_GCC_RUNTIME}
+LDFLAGS+=		-Wl,-rpath=${_GCC_RUNTIME} -L${_GCC_RUNTIME}
 .    if defined (USE_FORTRAN)
 .    if ${USE_FORTRAN} == yes
 FFLAGS+=		-Wl,-rpath=${_GCC_RUNTIME}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312072236.rB7MaLoa058495>