diff options
author | joerg <joerg@FreeBSD.org> | 2004-05-14 19:52:13 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 2004-05-14 19:52:13 +0000 |
commit | e4f607e5824ae19005faee7e0b66454e205dda80 (patch) | |
tree | 9123a85c1cbfdfd1722cc0a826d469b92785deba /devel | |
parent | 2fa39ae9b96f72fae40b2fae95a66ba764a50020 (diff) | |
download | FreeBSD-ports-e4f607e5824ae19005faee7e0b66454e205dda80.zip FreeBSD-ports-e4f607e5824ae19005faee7e0b66454e205dda80.tar.gz |
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
Diffstat (limited to 'devel')
-rw-r--r-- | devel/avr-binutils/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/devel/avr-binutils/Makefile b/devel/avr-binutils/Makefile index f18a5de..ebff291 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 \ |