turns out -fbracket-depth is clang specific, only use it with clang.
This commit is contained in:
parent
c4da59fa74
commit
e4b0619c29
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=374421
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -14,7 +14,7 @@ COMMENT= Cross GNU Compiler Collection for ${PKGNAMEPREFIX:C/-//g}
|
|||
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}
|
||||
|
|
Loading…
Reference in a new issue