summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2006-10-16 16:42:56 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2006-10-16 16:42:56 +0000
commit728d877674b1f21d6bc1dd3335b6d0205945b0dd (patch)
tree20c15163900997565962726643f5095d86044270 /gnu
parenta458937d1671fb771ec8aff35fb0fd7ab0eb4846 (diff)
Notes
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils/as/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/as/Makefile b/gnu/usr.bin/binutils/as/Makefile
index 9bf4880faf2d..a5473a77e9b4 100644
--- a/gnu/usr.bin/binutils/as/Makefile
+++ b/gnu/usr.bin/binutils/as/Makefile
@@ -35,6 +35,9 @@ CFLAGS+= -DDEFAULT_ARCH=\"v9-64\"
.else
CFLAGS+= -DDEFAULT_ARCH=\"${BINUTILS_ARCH}\"
.endif
+.if defined(TARGET_BIG_ENDIAN)
+CFLAGS+= -DTARGET_BYTES_BIG_ENDIAN=1
+.endif
CFLAGS+= -DTARGET_CPU=\"${BINUTILS_ARCH}\"
CFLAGS+= -DTARGET_CANONICAL=\"${TARGET_TUPLE}\"
CFLAGS+= -DTARGET_ALIAS=\"${TARGET_TUPLE}\"