diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2010-09-09 17:32:45 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2010-09-09 17:32:45 +0000 |
commit | 4d8536d8e70be938cf6a0548b2431a898ebc76eb (patch) | |
tree | d580ea1b3d16f5b36fbe4e0d9cfcbef4a3fcff93 /Makefile.cross | |
parent | 493711f6cd315f0e7960b26c8f106ca234232bb9 (diff) |
Use TARGET_ARCH, not MACHINE_ARCH. Fix from Tobias Ulmer. ok jsg@ jasper@
Diffstat (limited to 'Makefile.cross')
-rw-r--r-- | Makefile.cross | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile.cross b/Makefile.cross index 03026934466..81dffb90495 100644 --- a/Makefile.cross +++ b/Makefile.cross @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.cross,v 1.33 2010/08/25 08:04:01 jsg Exp $ +# $OpenBSD: Makefile.cross,v 1.34 2010/09/09 17:32:44 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,9 +78,7 @@ CROSSGCC= ${CROSSDIR}/.gcc_done ${TARGET_ARCH} == "sparc" || ${TARGET_ARCH} == "vax" TARGET_USE_GCC3=No COMPILER_VERSION=gcc2 -.elif ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "hppa" || \ - ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "powerpc" || \ - ${MACHINE_ARCH} == "sparc64" +.elif ${TARGET_ARCH} == "amd64" || ${TARGET_ARCH} == "sparc64" TARGET_USE_GCC4=Yes COMPILER_VERSION=gcc4 .else |