Update to the 20171119 snapshot of GCC 8.

Remove the setting of CXXFLAGS / STAGE1_CXXFLAGS to -fbracket-depth=512
for armv6 which should not be required here (and is not for armv7 and
aarch64 according to tests done by andreast@).

Use .elif instead of distinct .if sequences for architecture-specific
settings, something I plan on rolling out throughout all lang/gcc* ports.
This commit is contained in:
Gerald Pfeifer 2017-11-19 23:39:05 +00:00
parent 785266d1fa
commit 7ec577846e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=454509
2 changed files with 5 additions and 16 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= gcc
PORTVERSION= 8.0.0.s20171112
PORTVERSION= 8.0.0.s20171119
CATEGORIES= lang
MASTER_SITES= GCC/snapshots/${DIST_VERSION}
PKGNAMESUFFIX= ${SUFFIX}-devel
@ -59,23 +59,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
. 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}

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1510663719
SHA256 (gcc-8-20171112.tar.xz) = 1ae394a63a371bbf104bb4e8a633e86035c63b7932cf7ad275819d8a4298b4a5
SIZE (gcc-8-20171112.tar.xz) = 60479592
TIMESTAMP = 1511131785
SHA256 (gcc-8-20171119.tar.xz) = 0b6da0bbddc4379fa9dc7fc11ae6a3d54eb503068c47ebd76d1418010ffac088
SIZE (gcc-8-20171119.tar.xz) = 60502776