freebsd-ports/devel/amd64-gcc/Makefile
John Baldwin 4862e43f83 Simplify some of the logic for external GCC toolchain packages.
- Always define BU_PREFIX as GCC_TARGET if needed.  This was already
  effectively true, but BU_PREFIX was just being set to the same value
  in the case that GCC_TARGET wasn't defined.  This is simpler and
  avoids duplicating some logic.
- Simplify amd64-gcc by not defining GCC_TARGET and BU_PREFIX in that
  port but instead replacing "amd64" with "x86_64" in the
  devel/powerpc64-gcc Makefile.  This matches what base/gcc does.
- Remove FREEBSD_EXTENSION now that it is no longer needed.

Approved by:	zeising
Differential Revision:	https://reviews.freebsd.org/D18349
2018-12-29 00:44:12 +00:00

15 lines
534 B
Makefile

# $FreeBSD$
PKGNAMEPREFIX= amd64-
PLIST= ${.CURDIR}/pkg-plist
MASTERDIR= ${.CURDIR}/../powerpc64-gcc
BROKEN_aarch64= invalid output constraint '=a' in assembler
BROKEN_armv6= invalid output constraint '=a' in assembler
BROKEN_armv7= invalid output constraint '=a' in assembler
BROKEN_mips= configure: cannot compute suffix of object files: cannot compile
BROKEN_mips64= configure: cannot compute suffix of object files: cannot compile
BROKEN_powerpc64= invalid output constraint in assembler
.include "${MASTERDIR}/Makefile"