Date: Fri, 26 Dec 2014 18:23:54 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r375645 - head/devel/binutils Message-ID: <201412261823.sBQINsai048325@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Fri Dec 26 18:23:53 2014 New Revision: 375645 URL: https://svnweb.freebsd.org/changeset/ports/375645 QAT: https://qat.redports.org/buildarchive/r375645/ Log: Do not build gold if compiler is clang version lower to 3.4 Reported by: many Modified: head/devel/binutils/Makefile Modified: head/devel/binutils/Makefile ============================================================================== --- head/devel/binutils/Makefile Fri Dec 26 17:59:25 2014 (r375644) +++ head/devel/binutils/Makefile Fri Dec 26 18:23:53 2014 (r375645) @@ -24,7 +24,7 @@ OPTIONS_DEFINE= NLS LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING3 LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING3.LIB -USES= bison gmake libtool tar:bzip2 +USES= bison gmake libtool tar:bzip2 compiler:env GNU_CONFIGURE= yes .if defined(PKGNAMEPREFIX) @@ -53,10 +53,10 @@ OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls -.include <bsd.port.options.mk> +.include <bsd.port.pre.mk> # Actual earliest version may differ slightly -.if ${ARCH} != ia64 && ${ARCH} != mips && ${OSVERSION} >= 900044 && !defined(PKGNAMEPREFIX) +.if ${ARCH} != ia64 && ${ARCH} != mips && ${OSVERSION} >= 900044 && !defined(PKGNAMEPREFIX) && (${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 34 || ${COMPILER_TYPE} == gcc) CONFIGURE_ARGS+= --enable-gold --enable-plugins PLIST_SUB+= GOLD="" .else @@ -87,4 +87,4 @@ post-install: ${LN} -fs ../../bin/${BUTARGET}-size ${STAGEDIR}${PREFIX}/${BUTARGET}/bin/size .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412261823.sBQINsai048325>