aboutsummaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2019-02-20 08:48:36 +0800
committerjhb <jhb@FreeBSD.org>2019-02-20 08:48:36 +0800
commit981fdfd4e853009246e9460cfd099dc8ec82062e (patch)
treeff1c8e90749ed71e183ee2a012bdc7a2e69dc380 /base
parent0da868551f41dbfecbf4ae26314ca46acd4c6a78 (diff)
downloadfreebsd-ports-gnome-981fdfd4e853009246e9460cfd099dc8ec82062e.tar.gz
freebsd-ports-gnome-981fdfd4e853009246e9460cfd099dc8ec82062e.tar.zst
freebsd-ports-gnome-981fdfd4e853009246e9460cfd099dc8ec82062e.zip
Permit base/binutils to be built as a native package.
- Don't require CROSS_TOOLCHAIN and CROSS_SYSROOT for base/binutils. - Fix some places in devel/binutils to test the PREFIX instead of CROSS_TOOLCHAIN to determine if base/binutils is being built. - When base/binutils is built natively, the binaries are installed with the target name prefix already. Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D19128
Diffstat (limited to 'base')
-rw-r--r--base/binutils/Makefile8
1 files changed, 0 insertions, 8 deletions
diff --git a/base/binutils/Makefile b/base/binutils/Makefile
index 128485f467c4..07ab26a46e66 100644
--- a/base/binutils/Makefile
+++ b/base/binutils/Makefile
@@ -10,14 +10,6 @@ COMMENT= GNU binary tools for base
MASTERDIR= ${.CURDIR}/../../devel/binutils
PLIST= ${.CURDIR}/pkg-plist
-.if !defined(CROSS_TOOLCHAIN)
-.error Please define CROSS_TOOLCHAIN before building
-.endif
-
-.if !defined(CROSS_SYSROOT)
-.error Please define CROSS_SYSROOT before building
-.endif
-
TARGETARCH= ${ARCH:S/amd64/x86_64/}
BUTARGET= ${TARGETARCH}-unknown-${OPSYS:tl}${OSREL}