Deleted Added
full compact
1c1
< # $FreeBSD: head/gnu/usr.bin/cc/Makefile.inc 54991 1999-12-22 05:34:56Z obrien $
---
> # $FreeBSD: head/gnu/usr.bin/cc/Makefile.inc 55220 1999-12-29 14:42:46Z obrien $
9c9,11
< .if ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb"
---
> TARGET_ARCH?= ${MACHINE_ARCH}
>
> .if ${TARGET_ARCH} == "mipsel" || ${TARGET_ARCH} == "mipseb"
12c14
< GCC_ARCH= ${MACHINE_ARCH}
---
> GCC_ARCH= ${TARGET_ARCH}
19c21
< target= ${MACHINE_ARCH}-unknown-freebsd
---
> target= ${TARGET_ARCH}-unknown-freebsd
30a33
> CFLAGS+= -DPREFIX=\"${TOOLS_PREFIX}/usr\"
39,43c42
< # If hw.machine_arch doesn't match ${MACHINE_ARCH}, then we're cross
< # compiling. gcc needs to know about this, so we set the -DCROSS_COMPILE
< # define.
< __M!= /sbin/sysctl -b hw.machine_arch
< .if ${__M} != ${MACHINE_ARCH}
---
> .if ${TARGET_ARCH} != ${MACHINE_ARCH}