summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-02-19 10:23:34 +0000
committerru <ru@FreeBSD.org>2005-02-19 10:23:34 +0000
commitc20c6a809717d53c2098af187d6b86a05576e873 (patch)
treeffaabbec2219e4eeaaa008c0be6bc13fd0a4e045 /Makefile.inc1
parent2bf0bec3d5b7df87e84054e2c5c25914553691be (diff)
downloadFreeBSD-src-c20c6a809717d53c2098af187d6b86a05576e873.zip
FreeBSD-src-c20c6a809717d53c2098af187d6b86a05576e873.tar.gz
Allow to cross-build amd64 on non-i386.
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc13
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 8b1db91..1957fdd 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -871,7 +871,8 @@ build-tools:
_elf2aout= usr.bin/elf2aout
.endif
-.if ${TARGET_ARCH} == "i386" && ${TARGET_ARCH} != ${MACHINE_ARCH}
+.if (${TARGET_ARCH} == "amd64" || ${TARGET_ARCH} == "i386") && \
+ ${TARGET_ARCH} != ${MACHINE_ARCH}
_btxld= usr.sbin/btxld
.endif
OpenPOWER on IntegriCloud