Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 May 2014 21:11:39 +0000 (UTC)
From:      Gerald Pfeifer <gerald@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r355454 - head/lang/gcc410
Message-ID:  <201405262111.s4QLBdiW073907@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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
 USE_BINUTILS=	yes
 USE_PERL5=	build
 SSP_UNSAFE=	yes



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405262111.s4QLBdiW073907>