svn commit: r333945 - head/Mk/Uses

Baptiste Daroussin bapt at FreeBSD.org
Fri Nov 15 22:25:41 UTC 2013


Author: bapt
Date: Fri Nov 15 22:25:40 2013
New Revision: 333945
URL: http://svnweb.freebsd.org/changeset/ports/333945

Log:
  Make sure clang uses ports ld on FreeBSD 8

Modified:
  head/Mk/Uses/compiler.mk

Modified: head/Mk/Uses/compiler.mk
==============================================================================
--- head/Mk/Uses/compiler.mk	Fri Nov 15 22:22:12 2013	(r333944)
+++ head/Mk/Uses/compiler.mk	Fri Nov 15 22:25:40 2013	(r333945)
@@ -128,6 +128,7 @@ CC=	${LOCALBASE}/bin/clang33
 CXX=	${LOCALBASE}/bin/clang++33
 .if ${OSVERSION} < 900033
 USE_BINUTILS=	yes
+LDFLAGS+=	-B${LOCALBASE}/bin
 .endif
 .endif
 .endif
@@ -145,6 +146,7 @@ CC=	${LOCALBASE}/bin/clang33
 CXX=	${LOCALBASE}/bin/clang++33
 .if ${OSVERSION} < 900033
 USE_BINUTILS=	yes
+LDFLAGS+=	-B${LOCALBASE}/bin
 .endif
 .endif
 .endif


More information about the svn-ports-all mailing list