svn commit: r355454 - head/lang/gcc410

Baptiste Daroussin bapt at FreeBSD.org
Mon May 26 21:19:33 UTC 2014


On Mon, May 26, 2014 at 09:11:39PM +0000, Gerald Pfeifer wrote:
> Author: gerald
> Date: Mon May 26 21:11:38 2014
> New Revision: 355454
> URL: http://svnweb.freebsd.org/changeset/ports/355454
> QAT: https://qat.redports.org/buildarchive/r355454/
> 
> Log:
>   On amd64 systems with clang, we still need to build with GCC for the time
>   being since clang pretends it is GCC, but cannot cope with all GCC specific
>   input.
>   
>   Reported by:	Andrzej Tobola <ato at iem.pw.edu.pl>
>   Tested with:	redports
> 
> Modified:
>   head/lang/gcc410/Makefile
> 
> Modified: head/lang/gcc410/Makefile
> ==============================================================================
> --- head/lang/gcc410/Makefile	Mon May 26 21:01:24 2014	(r355453)
> +++ head/lang/gcc410/Makefile	Mon May 26 21:11:38 2014	(r355454)
> @@ -33,6 +33,9 @@ GCC_VERSION=	${PORTVERSION:C/(.+)\.s[0-9
>  SUFFIX=		${PORTVERSION:C/([0-9]+).([0-9]+).*/\1\2/}
>  ONLY_FOR_ARCHS=	amd64 i386 powerpc powerpc64 sparc64
>  USES=		gmake iconv perl5 tar:bzip2
> +.if exists(/usr/bin/clang) && ${ARCH} == "amd64"
> +USE_GCC=	yes
> +.endif

ARCH is only defined after bsd.port.options.mk or bsd.port.pre.mk

>  USE_BINUTILS=	yes
>  USE_PERL5=	build
>  SSP_UNSAFE=	yes
> 
regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20140526/da3814e3/attachment.sig>


More information about the svn-ports-all mailing list