1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00

Switch mips-based ports to gcc4. Most of the work has been done by kettenis@.

This commit is contained in:
miod 2010-09-24 14:04:06 +00:00
parent 8ab12a4521
commit 529d6bc564
2 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile.cross,v 1.38 2010/09/23 19:00:48 pirofti Exp $
# $OpenBSD: Makefile.cross,v 1.39 2010/09/24 14:04:06 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
@ -79,8 +79,8 @@ CROSSGCC= ${CROSSDIR}/.gcc_done
TARGET_USE_GCC3=No
COMPILER_VERSION=gcc2
.elif ${TARGET_ARCH} == "amd64" || ${TARGET_ARCH} == "hppa" || \
${TARGET_ARCH} == "i386" || ${TARGET_ARCH} == "powerpc" || \
${TARGET_ARCH} == "sparc64"
${TARGET_ARCH} == "i386" || ${TARGET_ARCH:Mmips64*} || \
${TARGET_ARCH} == "powerpc" || ${TARGET_ARCH} == "sparc64"
TARGET_USE_GCC4=Yes
COMPILER_VERSION=gcc4
.else

View File

@ -1,4 +1,4 @@
# $OpenBSD: bsd.own.mk,v 1.103 2010/07/08 20:25:40 kettenis Exp $
# $OpenBSD: bsd.own.mk,v 1.104 2010/09/24 14:04:06 miod Exp $
# $NetBSD: bsd.own.mk,v 1.24 1996/04/13 02:08:09 thorpej Exp $
# Host-specific overrides
@ -37,8 +37,8 @@ ELF_TOOLCHAIN?= yes
USE_GCC3?=no
COMPILER_VERSION?=gcc2
.elif ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "hppa" || \
${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "powerpc" || \
${MACHINE_ARCH} == "sparc64"
${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH:Mmips64*} || \
${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64"
COMPILER_VERSION?=gcc4
.else
USE_GCC3?=yes