From 73c97421bdaad2b7949532a7a080b2b89ee50e59 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Thu, 8 Sep 2016 21:35:37 +0000 Subject: [PATCH] Remove everything that is now in bsd.port.mk which simplifies the code --- base/binutils/Makefile | 16 +--------------- 1 file changed, 1 insertion(+), 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