aboutsummaryrefslogtreecommitdiff
path: root/lang/gcc6-aux/Makefile
diff options
context:
space:
mode:
authorEric Turgeon <ericbsd@FreeBSD.org>2018-05-28 14:20:22 +0000
committerEric Turgeon <ericbsd@FreeBSD.org>2018-05-28 14:20:22 +0000
commitf89ed5a4ac26907e8c16a36d9f787eb54a2fddc1 (patch)
treedacd65da6e8076635205494832f44864112e4d51 /lang/gcc6-aux/Makefile
parent893e6ccf35905707055ce00cf270fbcc6e081920 (diff)
downloadports-f89ed5a4ac26907e8c16a36d9f787eb54a2fddc1.tar.gz
ports-f89ed5a4ac26907e8c16a36d9f787eb54a2fddc1.zip
Notes
Diffstat (limited to 'lang/gcc6-aux/Makefile')
-rw-r--r--lang/gcc6-aux/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/gcc6-aux/Makefile b/lang/gcc6-aux/Makefile
index 6c2fcfef9b50..43688484371b 100644
--- a/lang/gcc6-aux/Makefile
+++ b/lang/gcc6-aux/Makefile
@@ -57,6 +57,8 @@ MODERN_BINUTILS= yes
BOOTSTRAP_COMPILER= ada-bootstrap.aarch64.freebsd.120.tar.bz2
. elif ${ARCH} == amd64 && ${OSVERSION} > 1200030 #ino64
BOOTSTRAP_COMPILER= ada-bootstrap.${GARCH}.freebsd.120.tar.bz2
+. elif ${ARCH} == i386 && ${OSVERSION} > 1200030 #ino64
+BOOTSTRAP_COMPILER= ada-bootstrap.${GARCH}.freebsd.120.tar.bz2
. else
BOOTSTRAP_COMPILER= ada-bootstrap.${GARCH}.freebsd.100B.tar.bz2
. endif
@@ -116,10 +118,12 @@ DISTFILES+= ${BOOTSTRAP_COMPILER}:boot
# for port maintenance, invoke "make makesum PLUS_BOOTSTRAPS=1"
.if defined(PLUS_BOOTSTRAPS)
DISTFILES= \
- ${IDENTIFICATION}.tar.bz2 \
+ ${IDENTIFICATION}.tar.xz \
ada-bootstrap.i386.freebsd.100B.tar.bz2:boot \
+ ada-bootstrap.i386.freebsd.120.tar.bz2:boot \
ada-bootstrap.x86_64.dragonfly.41.tar.bz2:boot \
ada-bootstrap.x86_64.freebsd.100B.tar.bz2:boot \
+ ada-bootstrap.x86_64.freebsd.120.tar.bz2:boot \
ada-bootstrap.aarch64.freebsd.120.tar.bz2:boot
.endif
@@ -217,6 +221,8 @@ post-extract:
${WRKSRC}/gcc/config/i386/freebsd64.h \
${WRKSRC}/gcc/config/i386/freebsd.h \
${WRKSRC}/gcc/config/aarch64/aarch64-freebsd.h
+ @${REINPLACE_CMD} -e 's|static:crtbeginT.o%s;||' \
+ ${WRKSRC}/gcc/config/freebsd-spec.h
.if defined(MODERN_BINUTILS)
# Use dwarf4-compatible addr2line (affects FreeBSD only)
${REINPLACE_CMD} -e 's|/usr/bin/addr2line|${PREFIX}/bin/addr2line|g' \