switch sparc64 to GCC 4.5.3.

This commit is contained in:
mrg 2011-08-04 00:52:49 +00:00
parent 469cff01d3
commit 7941c10dff
2 changed files with 13 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# LIST OF CHANGES FROM LAST RELEASE: <$Revision: 1.1585 $> # LIST OF CHANGES FROM LAST RELEASE: <$Revision: 1.1586 $>
# #
# #
# [Note: This file does not mention every change made to the NetBSD source tree. # [Note: This file does not mention every change made to the NetBSD source tree.
@ -1086,3 +1086,4 @@ Changes from NetBSD 5.0 to NetBSD 6.0:
mips: Add support for ralink RT3883 SoC from CradlePoint Technologies. mips: Add support for ralink RT3883 SoC from CradlePoint Technologies.
[matt 20110729] [matt 20110729]
postfix(1): Import version 2.8.4 [tron 20110731] postfix(1): Import version 2.8.4 [tron 20110731]
sparc64: Switch to GCC 4.5.3 [mrg 20110802]

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.own.mk,v 1.675 2011/07/16 23:42:42 tsutsui Exp $ # $NetBSD: bsd.own.mk,v 1.676 2011/08/04 00:52:50 mrg Exp $
# This needs to be before bsd.init.mk # This needs to be before bsd.init.mk
.if defined(BSD_MK_COMPAT_FILE) .if defined(BSD_MK_COMPAT_FILE)
@ -46,7 +46,16 @@ NEED_OWN_INSTALL_TARGET?= yes
# #
TOOLCHAIN_MISSING?= no TOOLCHAIN_MISSING?= no
# default to GCC4.1 #
# Platforms using GCC 4.5
#
.if ${MACHINE_ARCH} == "sparc64"
HAVE_GCC?= 45
.endif
#
# Otherwise, default to GCC4.1
#
.if !defined(HAVE_GCC) && !defined(HAVE_PCC) .if !defined(HAVE_GCC) && !defined(HAVE_PCC)
HAVE_GCC= 4 HAVE_GCC= 4
.endif .endif