summaryrefslogtreecommitdiff
path: root/Makefile.cross
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2010-09-09 19:46:40 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2010-09-09 19:46:40 +0000
commit4d397eefb84cf4bf7ba68767ed8b622415feed47 (patch)
tree1032185bda2b69546c1ea079450bbda650370c08 /Makefile.cross
parenta9635a8e471b1b35522302b3fa4ba8530abd90db (diff)
Sigh, check in the actual diff, not a backout of th previous change.
Use TARGET_ARCH, not MACHINE_ARCH. Fix from Tobias Ulmer. ok jsg@ jasper@
Diffstat (limited to 'Makefile.cross')
-rw-r--r--Makefile.cross6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.cross b/Makefile.cross
index 81dffb90495..7ed62c66d81 100644
--- a/Makefile.cross
+++ b/Makefile.cross
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.cross,v 1.34 2010/09/09 17:32:44 drahn Exp $
+# $OpenBSD: Makefile.cross,v 1.35 2010/09/09 19:46:39 drahn Exp $
cross-tools: cross-includes cross-binutils cross-gcc cross-lib
cross-distrib: cross-tools cross-bin cross-share cross-sys cross-etc-root-var
@@ -78,7 +78,9 @@ CROSSGCC= ${CROSSDIR}/.gcc_done
${TARGET_ARCH} == "sparc" || ${TARGET_ARCH} == "vax"
TARGET_USE_GCC3=No
COMPILER_VERSION=gcc2
-.elif ${TARGET_ARCH} == "amd64" || ${TARGET_ARCH} == "sparc64"
+.elif ${TARGET_ARCH} == "amd64" || ${TARGET_ARCH} == "hppa" || \
+ ${TARGET_ARCH} == "i386" || ${TARGET_ARCH} == "powerpc" || \
+ ${TARGET_ARCH} == "sparc64"
TARGET_USE_GCC4=Yes
COMPILER_VERSION=gcc4
.else