From aab95d3ee26cca5c369beed216d327d4644f088b Mon Sep 17 00:00:00 2001 From: gerald Date: Mon, 26 May 2014 21:11:38 +0000 Subject: 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 Tested with: redports --- lang/gcc410/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lang') diff --git a/lang/gcc410/Makefile b/lang/gcc410/Makefile index fb1c40b98c5d..4d8aba769ea5 100644 --- a/lang/gcc410/Makefile +++ b/lang/gcc410/Makefile @@ -33,6 +33,9 @@ GCC_VERSION= ${PORTVERSION:C/(.+)\.s[0-9]{8}/\1/} 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 -- cgit