aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2011-02-01 09:41:19 +0800
committergerald <gerald@FreeBSD.org>2011-02-01 09:41:19 +0800
commitdb47720c274d04c587024fe3f075799f925c920d (patch)
treee7235c8260addcf076224407e38a0eb0e1656992 /Mk
parent539070ead7f5f9191dfa8a4ac721e68d126d1e87 (diff)
downloadfreebsd-ports-gnome-db47720c274d04c587024fe3f075799f925c920d.tar.gz
freebsd-ports-gnome-db47720c274d04c587024fe3f075799f925c920d.tar.zst
freebsd-ports-gnome-db47720c274d04c587024fe3f075799f925c920d.zip
lang/gcc44 and later depend on the devel/binutils port. Leverage that
and USE_BINUTILS for every port we are building with this combo. That way all the tools in binutils may be used. Suggested by: bf Feature safe: yes
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.gcc.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/Mk/bsd.gcc.mk b/Mk/bsd.gcc.mk
index 4f73d7959309..9e523b30b8b5 100644
--- a/Mk/bsd.gcc.mk
+++ b/Mk/bsd.gcc.mk
@@ -201,6 +201,11 @@ LDFLAGS+= -Wl,-rpath=${LOCALBASE}/lib/${_GCC_BUILD_DEPENDS}
BUILD_DEPENDS+= ${_GCC_PORT_DEPENDS}:${PORTSDIR}/lang/${_GCC_BUILD_DEPENDS}
. if ${_USE_GCC} != 3.4
RUN_DEPENDS+= ${_GCC_PORT_DEPENDS}:${PORTSDIR}/lang/${_GCC_BUILD_DEPENDS}
+. if ${_USE_GCC} != 4.2
+# Later GCC ports already depend on binutils; make sure whatever we
+# build leverages this as well.
+USE_BINUTILS= yes
+. endif
. endif
.endif
.endif # defined(_USE_GCC)