aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-11-16 06:25:40 +0800
committerbapt <bapt@FreeBSD.org>2013-11-16 06:25:40 +0800
commit688a2c23b0b99311a8a777eb7911065a28156ffc (patch)
treeb7f3106e71e6927b96bb4d1d341872b4dfbcba92 /Mk
parentddcdfb7325fd77f4e373bb447eab3d93d48f04a9 (diff)
downloadfreebsd-ports-gnome-688a2c23b0b99311a8a777eb7911065a28156ffc.tar.gz
freebsd-ports-gnome-688a2c23b0b99311a8a777eb7911065a28156ffc.tar.zst
freebsd-ports-gnome-688a2c23b0b99311a8a777eb7911065a28156ffc.zip
Make sure clang uses ports ld on FreeBSD 8
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Uses/compiler.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mk/Uses/compiler.mk b/Mk/Uses/compiler.mk
index 977b0c148efa..9577dcbfc8c7 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