summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-11-12 09:25:43 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-11-12 09:25:43 +0000
commita23ec7269cb33946ef81a8ad95d9713a4aa8bf12 (patch)
tree0a4a9305f9005df4857ed1663dd4b6394013b95a
parentgraphics => ilmbase & OpenEXR: Fix == bashism in configure script (diff)
On FreeBSD 8 clang will need a newer version of binutils.
Reported by: dbn
Notes
Notes: svn path=/head/; revision=333554
-rw-r--r--Mk/Uses/compiler.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/Mk/Uses/compiler.mk b/Mk/Uses/compiler.mk
index ae071415961e..977b0c148efa 100644
--- a/Mk/Uses/compiler.mk
+++ b/Mk/Uses/compiler.mk
@@ -126,6 +126,9 @@ BUILD_DEPENDS+= ${LOCALBASE}/bin/clang33:${PORTSDIR}/lang/clang33
CPP= ${LOCALBASE}/bin/clang-cpp33
CC= ${LOCALBASE}/bin/clang33
CXX= ${LOCALBASE}/bin/clang++33
+.if ${OSVERSION} < 900033
+USE_BINUTILS= yes
+.endif
.endif
.endif
.endif
@@ -140,6 +143,9 @@ BUILD_DEPENDS+= ${LOCALBASE}/bin/clang33:${PORTSDIR}/lang/clang33
CPP= ${LOCALBASE}/bin/clang-cpp33
CC= ${LOCALBASE}/bin/clang33
CXX= ${LOCALBASE}/bin/clang++33
+.if ${OSVERSION} < 900033
+USE_BINUTILS= yes
+.endif
.endif
.endif
.endif