freebsd-dev/gnu/usr.bin/cc/Makefile.tgt
2008-09-01 18:46:03 +00:00

24 lines
445 B
Makefile

# $FreeBSD$
TARGET_ARCH?= ${MACHINE_ARCH}
.if ${TARGET_ARCH} == "amd64"
GCC_CPU= i386
.elif ${TARGET_ARCH} == "powerpc"
GCC_CPU= rs6000
.elif ${TARGET_ARCH} == "sparc64"
GCC_CPU= sparc
.else
GCC_CPU= ${TARGET_ARCH}
.endif
.if ${TARGET_ARCH} == "ia64"
TARGET_CPU_DEFAULT= MASK_GNU_AS|MASK_GNU_LD
.endif
.if ${TARGET_ARCH} == "mips"
TARGET_CPU_DEFAULT= 16
.endif
.if ${TARGET_ARCH} == "sparc64"
TARGET_CPU_DEFAULT= TARGET_CPU_ultrasparc
.endif