diff options
author | obrien <obrien@FreeBSD.org> | 2000-05-22 08:25:40 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-05-22 08:25:40 +0000 |
commit | e6cacfa3cbfa593edcfba8c1a71b08c7993b6d99 (patch) | |
tree | d80db80d5fec707945f9b76fc938c5c99c56bd02 /gnu/usr.bin | |
parent | 7bd588a76bb726eab7cea842145da63184b13761 (diff) | |
download | FreeBSD-src-e6cacfa3cbfa593edcfba8c1a71b08c7993b6d99.zip FreeBSD-src-e6cacfa3cbfa593edcfba8c1a71b08c7993b6d99.tar.gz |
Conditionally define "CROSS_COMPILE" here.
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r-- | gnu/usr.bin/binutils/as/mips-freebsd/Makefile | 3 | ||||
-rw-r--r-- | gnu/usr.bin/binutils/as/powerpc-freebsd/Makefile | 8 | ||||
-rw-r--r-- | gnu/usr.bin/binutils/as/sparc-freebsd/Makefile | 3 | ||||
-rw-r--r-- | gnu/usr.bin/binutils/as/sparc64-freebsd/Makefile | 3 |
4 files changed, 15 insertions, 2 deletions
diff --git a/gnu/usr.bin/binutils/as/mips-freebsd/Makefile b/gnu/usr.bin/binutils/as/mips-freebsd/Makefile index 7f67166..2546370 100644 --- a/gnu/usr.bin/binutils/as/mips-freebsd/Makefile +++ b/gnu/usr.bin/binutils/as/mips-freebsd/Makefile @@ -8,6 +8,9 @@ PROG= as .if ${MACHINE_ARCH} != "mipsel" && ${MACHINE_ARCH} != "mipseb" NOMAN= 1 BINDIR= /usr/libexec/cross/mips-freebsd +# If we aren't doing cross-assembling, some operations can be optimized, since +# byte orders and value sizes don't need to be adjusted. +CFLAGS+= -DCROSS_COMPILE=1 .endif .if ${MACHINE_ARCH} == "mipsel" CFLAGS+= -DTARGET_BYTES_BIG_ENDIAN=0 diff --git a/gnu/usr.bin/binutils/as/powerpc-freebsd/Makefile b/gnu/usr.bin/binutils/as/powerpc-freebsd/Makefile index 8770570..d216189 100644 --- a/gnu/usr.bin/binutils/as/powerpc-freebsd/Makefile +++ b/gnu/usr.bin/binutils/as/powerpc-freebsd/Makefile @@ -1,12 +1,16 @@ -# # $FreeBSD$ -# .include "${.CURDIR}/../Makefile.inc0" PROG= as +.if ${TARGET_ARCH} != "powerpc" NOMAN= 1 BINDIR= /usr/libexec/cross/powerpc-freebsd +# If we aren't doing cross-assembling, some operations can be optimized, since +# byte orders and value sizes don't need to be adjusted. +CFLAGS+= -DCROSS_COMPILE=1 +.endif SRCS+= obj-elf.c tc-ppc.c + .include <bsd.prog.mk> diff --git a/gnu/usr.bin/binutils/as/sparc-freebsd/Makefile b/gnu/usr.bin/binutils/as/sparc-freebsd/Makefile index 49784f3..cc5e30b 100644 --- a/gnu/usr.bin/binutils/as/sparc-freebsd/Makefile +++ b/gnu/usr.bin/binutils/as/sparc-freebsd/Makefile @@ -8,6 +8,9 @@ PROG= as .if ${TARGET_ARCH} != "sparc" NOMAN= 1 BINDIR= /usr/libexec/cross/sparc-freebsd +# If we aren't doing cross-assembling, some operations can be optimized, since +# byte orders and value sizes don't need to be adjusted. +CFLAGS+= -DCROSS_COMPILE=1 .endif SRCS+= obj-elf.c tc-sparc.c diff --git a/gnu/usr.bin/binutils/as/sparc64-freebsd/Makefile b/gnu/usr.bin/binutils/as/sparc64-freebsd/Makefile index 9ee55b6..85abe7d 100644 --- a/gnu/usr.bin/binutils/as/sparc64-freebsd/Makefile +++ b/gnu/usr.bin/binutils/as/sparc64-freebsd/Makefile @@ -8,6 +8,9 @@ PROG= as .if ${TARGET_ARCH} != "sparc64" NOMAN= 1 BINDIR= /usr/libexec/cross/sparc64-freebsd +# If we aren't doing cross-assembling, some operations can be optimized, since +# byte orders and value sizes don't need to be adjusted. +CFLAGS+= -DCROSS_COMPILE=1 .endif SRCS+= obj-elf.c tc-sparc.c |