svn commit: r355454 - head/lang/gcc410
Gerald Pfeifer
gerald at FreeBSD.org
Mon May 26 21:11:39 UTC 2014
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
USE_BINUTILS= yes
USE_PERL5= build
SSP_UNSAFE= yes
More information about the svn-ports-head
mailing list