From 771d9e0e1c6e8c68b82a8e2072a7ceea1f69a42f Mon Sep 17 00:00:00 2001 From: Joerg Wunsch Date: Fri, 14 May 2004 19:52:13 +0000 Subject: When compiling on an amd64 host, override the --host configure setting to x86_64 to make the GNU utils match their expectation. Noticed by: kris --- devel/avr-binutils/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/devel/avr-binutils/Makefile b/devel/avr-binutils/Makefile index f18a5de3c57a..ebff29116ac0 100644 --- a/devel/avr-binutils/Makefile +++ b/devel/avr-binutils/Makefile @@ -21,6 +21,9 @@ WRKSRC= ${WRKDIR}/binutils-${PORTVERSION} USE_BZIP2= yes USE_GMAKE= yes CONFIGURE_ARGS= --target=avr +.if (${MACHINE_ARCH} == "amd64") +CONFIGURE_ARGS+= --host=x86_64-portbld-freebsd${OSREL} +.endif USE_LIBTOOL_VER= 13 LIBTOOLFILES= configure bfd/configure binutils/configure etc/configure \ gas/configure gprof/configure intl/configure ld/configure \ -- cgit v1.2.3