summaryrefslogtreecommitdiff
path: root/Mk/Uses/compiler.mk
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-11-15 22:25:40 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-11-15 22:25:40 +0000
commit4ee0cb5d328da9711811cb652472fbb567d98fc5 (patch)
treeb7f3106e71e6927b96bb4d1d341872b4dfbcba92 /Mk/Uses/compiler.mk
parent- Update to 0.9.4.1 (diff)
Make sure clang uses ports ld on FreeBSD 8
Notes
Notes: svn path=/head/; revision=333945
Diffstat (limited to 'Mk/Uses/compiler.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