Invert the binutils 2.17 logic to only list non-2.17 platforms.
authormiod <miod@openbsd.org>
Thu, 28 May 2015 18:23:11 +0000 (18:23 +0000)
committermiod <miod@openbsd.org>
Thu, 28 May 2015 18:23:11 +0000 (18:23 +0000)
Makefile.cross
share/mk/bsd.own.mk

index e696907..6397827 100644 (file)
@@ -1,4 +1,4 @@
-# $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
@@ -86,10 +86,10 @@ COMPILER_VERSION=gcc3
 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})
index b67f9fb..4dacb14 100644 (file)
@@ -1,4 +1,4 @@
-#      $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
@@ -18,7 +18,7 @@ YP?=          yes
 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
@@ -34,10 +34,10 @@ COMPILER_VERSION?=gcc3
 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})