Date: Tue, 9 Dec 2014 19:13:27 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r374421 - in head/devel: arm-none-eabi-gcc powerpc64-gcc Message-ID: <201412091913.sB9JDRZO040865@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Tue Dec 9 19:13:27 2014 New Revision: 374421 URL: https://svnweb.freebsd.org/changeset/ports/374421 QAT: https://qat.redports.org/buildarchive/r374421/ Log: turns out -fbracket-depth is clang specific, only use it with clang. Modified: head/devel/arm-none-eabi-gcc/Makefile head/devel/powerpc64-gcc/Makefile Modified: head/devel/arm-none-eabi-gcc/Makefile ============================================================================== --- head/devel/arm-none-eabi-gcc/Makefile Tue Dec 9 18:56:58 2014 (r374420) +++ head/devel/arm-none-eabi-gcc/Makefile Tue Dec 9 19:13:27 2014 (r374421) @@ -17,4 +17,6 @@ INSTALL_TARGET+= install-target-libgcc CONFIGURE_ARGS+= --disable-libstdcxx --disable-multilib # The following is required for clang to bootstrap gcc. +.if ${COMPILER_TYPE} == clang MAKE_ARGS+= CXXFLAGS=-fbracket-depth=512 +.endif Modified: head/devel/powerpc64-gcc/Makefile ============================================================================== --- head/devel/powerpc64-gcc/Makefile Tue Dec 9 18:56:58 2014 (r374420) +++ head/devel/powerpc64-gcc/Makefile Tue Dec 9 19:13:27 2014 (r374421) @@ -14,7 +14,7 @@ COMMENT= Cross GNU Compiler Collection f LICENSE= GPLv3 GPLv3RLE LICENSE_COMB= multi -USES= gmake iconv libtool tar:bzip2 makeinfo +USES= gmake iconv libtool tar:bzip2 makeinfo compiler PLIST_SUB= TARGETARCH=${PKGNAMEPREFIX:C/-//g} \ OPSYS=${OPSYS:tl} \ GCC_TARGET=${GCC_TARGET}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412091913.sB9JDRZO040865>