From 688a2c23b0b99311a8a777eb7911065a28156ffc Mon Sep 17 00:00:00 2001 From: bapt Date: Fri, 15 Nov 2013 22:25:40 +0000 Subject: Make sure clang uses ports ld on FreeBSD 8 --- Mk/Uses/compiler.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Mk') diff --git a/Mk/Uses/compiler.mk b/Mk/Uses/compiler.mk index 977b0c148ef..9577dcbfc8c 100644 --- a/Mk/Uses/compiler.mk +++ b/Mk/Uses/compiler.mk @@ -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 -- cgit