-# $OpenBSD: Makefile.cross,v 1.75 2015/02/08 00:15:22 uebayasi Exp $
+# $OpenBSD: Makefile.cross,v 1.76 2015/05/28 18:23:11 miod 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
COMPILER_VERSION=gcc4
.endif
-.if !empty(BINUTILS217_ARCH:M${_arch})
-BINUTILS_VERSION=binutils-2.17
-.else
+.if !empty(BINUTILS215_ARCH:M${_arch})
BINUTILS_VERSION=binutils
+.else
+BINUTILS_VERSION=binutils-2.17
.endif
.if !empty(PIE_ARCH:M${_arch})
-# $OpenBSD: bsd.own.mk,v 1.164 2015/05/28 18:16:42 miod Exp $
+# $OpenBSD: bsd.own.mk,v 1.165 2015/05/28 18:23:13 miod Exp $
# $NetBSD: bsd.own.mk,v 1.24 1996/04/13 02:08:09 thorpej Exp $
# Host-specific overrides
DEBUGLIBS?= no
GCC3_ARCH=m88k vax
-BINUTILS217_ARCH=alpha amd64 arm hppa hppa64 i386 ia64 mips64 mips64el powerpc sh sparc sparc64
+BINUTILS215_ARCH=m88k vax
# arm needs binutils-2.17, which still lacks W^X support
# sparc has not been tried
COMPILER_VERSION?=gcc4
.endif
-.if !empty(BINUTILS217_ARCH:M${_arch})
-BINUTILS_VERSION=binutils-2.17
-.else
+.if !empty(BINUTILS215_ARCH:M${_arch})
BINUTILS_VERSION=binutils
+.else
+BINUTILS_VERSION=binutils-2.17
.endif
.if !empty(STATICPIE_ARCH:M${_arch})