summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cc/Makefile.tgt
blob: 911b1c4ab126888642e2f663e7c155774dfc1d9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# $FreeBSD: src/gnu/usr.bin/cc/Makefile.tgt,v 1.11.8.1 2009/04/15 03:14:26 kensmith Exp $
# $OpenBSD: Makefile.tgt,v 1.3 2010/04/26 05:45:25 robert Exp $

TARGET_ARCH?=	${MACHINE_ARCH}

.if ${TARGET_ARCH} == "arm"
GCC_CPU=	arm
.elif ${TARGET_ARCH} == "i386" || ${TARGET_ARCH} == "amd64"
GCC_CPU=	i386
.elif ${TARGET_ARCH} == "hppa"
GCC_CPU=	pa
.elif ${TARGET_ARCH} == "powerpc"
GCC_CPU=	rs6000
.elif ${TARGET_ARCH} == "sparc64"
GCC_CPU=	sparc
TARGET_CPU_DEFAULT= TARGET_CPU_ultrasparc
.endif