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
This commit is contained in:
Joerg Wunsch 2004-05-14 19:52:13 +00:00
parent 6068e22830
commit 771d9e0e1c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=109161

View file

@ -21,6 +21,9 @@ WRKSRC= ${WRKDIR}/binutils-${PORTVERSION}
USE_BZIP2= yes USE_BZIP2= yes
USE_GMAKE= yes USE_GMAKE= yes
CONFIGURE_ARGS= --target=avr CONFIGURE_ARGS= --target=avr
.if (${MACHINE_ARCH} == "amd64")
CONFIGURE_ARGS+= --host=x86_64-portbld-freebsd${OSREL}
.endif
USE_LIBTOOL_VER= 13 USE_LIBTOOL_VER= 13
LIBTOOLFILES= configure bfd/configure binutils/configure etc/configure \ LIBTOOLFILES= configure bfd/configure binutils/configure etc/configure \
gas/configure gprof/configure intl/configure ld/configure \ gas/configure gprof/configure intl/configure ld/configure \