diff options
author | bapt <bapt@FreeBSD.org> | 2013-11-16 06:25:40 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-11-16 06:25:40 +0800 |
commit | 688a2c23b0b99311a8a777eb7911065a28156ffc (patch) | |
tree | b7f3106e71e6927b96bb4d1d341872b4dfbcba92 /Mk/Uses | |
parent | ddcdfb7325fd77f4e373bb447eab3d93d48f04a9 (diff) | |
download | freebsd-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/Uses')
-rw-r--r-- | Mk/Uses/compiler.mk | 2 |
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 |