aboutsummaryrefslogtreecommitdiff
path: root/devel/avr-binutils
diff options
context:
space:
mode:
Diffstat (limited to 'devel/avr-binutils')
-rw-r--r--devel/avr-binutils/Makefile3
1 files changed, 3 insertions, 0 deletions
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 \