mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
Remove special code handling armv7 and armv6 (which for GCC 6 and
5-based ports is necessary for aarch64, armv6 and armv7, but that we do not need for newer ports). [1] Shorten the distinct .if statements for architecture-specific settings, to use .elif instead. Consulted with: andreast [1]
This commit is contained in:
parent
4897b1393b
commit
34e60e1c37
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=455404
@ -55,23 +55,12 @@ CONFIGURE_ARGS+= --disable-multilib
|
||||
|
||||
.if ${ARCH} == amd64
|
||||
CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL}
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == powerpc64
|
||||
.elif ${ARCH} == powerpc64
|
||||
CONFIGURE_ENV+= UNAME_m="powerpc64"
|
||||
USE_GCC= yes
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == armv6 || ${ARCH} == armv7
|
||||
. if ${COMPILER_TYPE} == clang
|
||||
. if empty(PORT_OPTIONS:MBOOTSTRAP)
|
||||
MAKE_ARGS+=CXXFLAGS+=-fbracket-depth=512
|
||||
. else
|
||||
MAKE_ARGS+=STAGE1_CXXFLAGS+=-fbracket-depth=512
|
||||
. endif
|
||||
. endif
|
||||
.endif
|
||||
|
||||
LANGUAGES:= c,c++,objc,fortran
|
||||
TARGLIB= ${PREFIX}/lib/gcc${SUFFIX}
|
||||
LIBEXEC= ${PREFIX}/libexec/gcc${SUFFIX}
|
||||
|
Loading…
Reference in New Issue
Block a user