freebsd-ports/devel/freebsd-gcc6/files/xtoolchain.mk.in
John Baldwin d12aa8fe0c Add freebsd-gcc6 port.
This port is basically identical to the existing <arch>-gcc ports
that use GCC6.  However, it uses flavors for the different
architectures instead of slave ports.  It also includes the external
toolchain makefile and thus subsumes the <arch>-xtoolchain-gcc
port into the new packages.

This should permit us to have ports for different major versions of
GCC (e.g. a freebsd-gcc9 port).

aarch64-gcc6 disables LTO support to work with aaarch64-binutils
which builds a static ld.bfd binary by default which is unable to work
with LTO.

Reviewed by:	imp, brooks
Approved by:	portmgr (swills)
Differential Revision:	https://reviews.freebsd.org/D22147
2019-11-19 18:53:22 +00:00

5 lines
204 B
Makefile

XCC=%%LOCALBASE%%/bin/%%GCC_TARGET%%-gcc6
XCXX=%%LOCALBASE%%/bin/%%GCC_TARGET%%-g++6
XCPP=%%LOCALBASE%%/bin/%%GCC_TARGET%%-cpp6
CROSS_BINUTILS_PREFIX=%%LOCALBASE%%/%%GCC_TARGET%%/bin/
X_COMPILER_TYPE=gcc