Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Sep 2016 21:44:31 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r421585 - head/base/gcc
Message-ID:  <201609082144.u88LiVQ3040001@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Sep  8 21:44:31 2016
New Revision: 421585
URL: https://svnweb.freebsd.org/changeset/ports/421585

Log:
  Remove things that are now handled by bsd.port.mk

Modified:
  head/base/gcc/Makefile

Modified: head/base/gcc/Makefile
==============================================================================
--- head/base/gcc/Makefile	Thu Sep  8 21:35:37 2016	(r421584)
+++ head/base/gcc/Makefile	Thu Sep  8 21:44:31 2016	(r421585)
@@ -31,7 +31,6 @@ PREFIX=		/usr
 CONFIGURE_ENV=	gcc_gxx_include_dir="/usr/include/c++/v1"
 TARGET_ARCH=	${CROSS_TOOLCHAIN:C,-.*$,,}
 GCC_TARGET=	${TARGET_ARCH}-portbld-${OPSYS:tl}${OSREL}
-GCC_HOST=	${TARGET_ARCH}-${OPSYS:tl}
 
 USES=	gmake libtool tar:bzip2 makeinfo
 PLIST_SUB=	TARGETARCH=${TARGET_ARCH} \
@@ -49,7 +48,6 @@ CONFIGURE_OUTSOURCE=	yes
 CONFIGURE_ARGS+=--target=${GCC_TARGET} --disable-nls \
 		--enable-languages=c,c++ \
 		--without-headers \
-		--host=${GCC_HOST} \
 		--with-build-sysroot=${CROSS_SYSROOT} \
 		-with-pkgversion="GNU Collection for FreeBSD"
 
@@ -77,17 +75,3 @@ post-install:
 	${RM} -rf ${STAGEDIR}/usr/share/info
 
 .include <bsd.port.mk>
-.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} -isystem ${CROSS_SYSROOT}/usr/include/c++/v1 -std=c++11 -nostdinc++
-LDFLAGS+=	--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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609082144.u88LiVQ3040001>