svn commit: r374421 - in head/devel: arm-none-eabi-gcc powerpc64-gcc
Warner Losh
imp at FreeBSD.org
Tue Dec 9 19:13:28 UTC 2014
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}
More information about the svn-ports-all
mailing list