aboutsummaryrefslogtreecommitdiffstats
path: root/base/binutils
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2016-09-09 05:35:37 +0800
committerbapt <bapt@FreeBSD.org>2016-09-09 05:35:37 +0800
commit1f16c2eb0dbbff84da960038088d983f3e022c9b (patch)
tree56436a4e9a07779224e98b2c734152638c5557a1 /base/binutils
parent32f26f47ae8eef94732988c4f85906f1e70c55a4 (diff)
downloadfreebsd-ports-gnome-1f16c2eb0dbbff84da960038088d983f3e022c9b.tar.gz
freebsd-ports-gnome-1f16c2eb0dbbff84da960038088d983f3e022c9b.tar.zst
freebsd-ports-gnome-1f16c2eb0dbbff84da960038088d983f3e022c9b.zip
Remove everything that is now in bsd.port.mk which simplifies the code
Diffstat (limited to 'base/binutils')
-rw-r--r--base/binutils/Makefile16
1 files changed, 1 insertions, 15 deletions
diff --git a/base/binutils/Makefile b/base/binutils/Makefile
index 1f01ac1c0f70..206025b3ae30 100644
--- a/base/binutils/Makefile
+++ b/base/binutils/Makefile
@@ -20,21 +20,7 @@ PLIST= ${.CURDIR}/pkg-plist.${TARGET_ARCH}
TARGET_ARCH= ${CROSS_TOOLCHAIN:C,-.*$,,}
BUTARGET= ${TARGET_ARCH}-${OPSYS:tl}
-CONFIGURE_ARGS+= --host=${BUTARGET} \
- --disable-host-shared
+CONFIGURE_ARGS+= --disable-host-shared
PREFIX= /usr
.include "${MASTERDIR}/Makefile"
-.include "${LOCALBASE}/share/toolchains/${CROSS_TOOLCHAIN}.mk"
-
-PKG_ENV+= ABI_FILE=${CROSS_SYSROOT}/bin/sh
-CFLAGS+= --sysroot=${CROSS_SYSROOT} -isystem ${CROSS_SYSROOT}/usr/include
-CXXFLAGS+= --sysroot=${CROSS_SYSROOT}
-CC= ${XCC}
-CXX= ${XCXX}
-.for tool in AS AR LD NM OBJCOPY RANLIB SIZE STRINGS
-${tool}= ${CROSS_BINUTILS_PREFIX}${tool:tl}
-.endfor
-STRIP_CMD= ${CROSS_BINUTILS_PREFIX}strip
-STRIPBIN= ${STRIP_CMD}
-.export.env STRIPBIN