summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMartin Reindl <martin@cvs.openbsd.org>2006-09-26 23:14:53 +0000
committerMartin Reindl <martin@cvs.openbsd.org>2006-09-26 23:14:53 +0000
commitecd84bf31bad64b35b9fc94c35074f968296f988 (patch)
tree246df6a903613d5f3a22b7e50d663174c4c22d6b /share
parent56a7dfc033f0d1f2e8fafbe18dade6b5311353f8 (diff)
switch alpha to gcc3; joint work with drahn@ and brad@
ok drahn@ brad@ mickey@ deraadt@
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.own.mk7
1 files changed, 3 insertions, 4 deletions
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk
index bf49c844c3d..cf9fb2b68c6 100644
--- a/share/mk/bsd.own.mk
+++ b/share/mk/bsd.own.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.own.mk,v 1.95 2006/06/26 03:12:37 brad Exp $
+# $OpenBSD: bsd.own.mk,v 1.96 2006/09/26 23:14:52 martin Exp $
# $NetBSD: bsd.own.mk,v 1.24 1996/04/13 02:08:09 thorpej Exp $
# Host-specific overrides
@@ -32,8 +32,7 @@ ELF_TOOLCHAIN?= yes
.endif
# gcc3
-.if ${MACHINE_ARCH} == "alpha" || \
- ${MACHINE_ARCH} == "m68k" || ${MACHINE_ARCH} == "m88k" || \
+.if ${MACHINE_ARCH} == "m68k" || ${MACHINE_ARCH} == "m88k" || \
${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "vax"
USE_GCC3?=no
.else
@@ -122,7 +121,7 @@ NOPIC=
.endif
# pic relocation flags.
-.if ${MACHINE_ARCH} == "sparc64"
+.if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "sparc64")
PICFLAG=-fPIC
.else
PICFLAG=-fpic