opnsense-src/gnu/usr.bin/cc/Makefile.tgt

24 lines
445 B
Makefile
Raw Normal View History

# $FreeBSD$
2002-04-06 18:18:01 -05:00
TARGET_ARCH?= ${MACHINE_ARCH}
.if ${TARGET_ARCH} == "amd64"
2002-04-06 18:18:01 -05:00
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
2008-09-01 14:46:03 -04:00
.if ${TARGET_ARCH} == "mips"
TARGET_CPU_DEFAULT= 16
.endif
.if ${TARGET_ARCH} == "sparc64"
2002-04-06 18:18:01 -05:00
TARGET_CPU_DEFAULT= TARGET_CPU_ultrasparc
.endif