Date: Wed, 28 Oct 2015 00:42:31 +0000 (UTC) From: Brooks Davis <brooks@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r400366 - head/devel/compiler-rt-devel Message-ID: <201510280042.t9S0gV3F030260@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brooks Date: Wed Oct 28 00:42:31 2015 New Revision: 400366 URL: https://svnweb.freebsd.org/changeset/ports/400366 Log: Fix the build when cc isn't a C++11 compiler. Modified: head/devel/compiler-rt-devel/Makefile Modified: head/devel/compiler-rt-devel/Makefile ============================================================================== --- head/devel/compiler-rt-devel/Makefile Wed Oct 28 00:39:03 2015 (r400365) +++ head/devel/compiler-rt-devel/Makefile Wed Oct 28 00:42:31 2015 (r400366) @@ -12,7 +12,7 @@ LLVM_SUFFIX= -devel LLVM_PREFIX= ${PREFIX}/llvm${LLVM_SUFFIX} LLVM_PORTDIR= ${.CURDIR}/../llvm${LLVM_SUFFIX} -USES= cmake:outsource ninja +USES= cmake:outsource compiler:c++11-lib ninja BUILD_DEPENDS= llvm-config${LLVM_SUFFIX}:${PORTSDIR}/devel/llvm${LLVM_SUFFIX} @@ -30,7 +30,7 @@ ONLY_FOR_ARCHS_REASON= plist contents no .for arch in ${ONLY_FOR_ARCHS} _arch=${arch} -.if (${_arch} == ${ARCH} || (${_arch} == "i386" && ${ARCH} == "amd64")) +.if (${_arch} == ${ARCH} || (${_arch} == "i386" && ${ARCH} == "amd64" && ${COMPILER_TYPE} != "gcc")) ARCH_SUB:= ${ARCH_SUB} ${arch:tu}= .else ARCH_SUB:= ${ARCH_SUB} ${arch:tu}="@comment "
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510280042.t9S0gV3F030260>