summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2006-09-12 07:09:45 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2006-09-12 07:09:45 +0000
commit124866d539681cadf2fce8a41e71a436563bc085 (patch)
tree45d9ecb59168eb0399b0a4da3b3709334e9ccff7 /gnu
parent6b31c6b17ff6284900c29c976c71dbb0010d4569 (diff)
Notes
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/cc/cc_int/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/usr.bin/cc/cc_int/Makefile b/gnu/usr.bin/cc/cc_int/Makefile
index 5c945c54d0f6..3867181ceb6d 100644
--- a/gnu/usr.bin/cc/cc_int/Makefile
+++ b/gnu/usr.bin/cc/cc_int/Makefile
@@ -80,6 +80,10 @@ insn-$F.c: ${.OBJDIR}/../cc_tools/gen$F
CFLAGS+= -DHAVE_CONFIG_H
CFLAGS+= -DTARGET_NAME=\"${target}\" -DIN_GCC
+.if ${TARGET_ARCH} == "arm" && defined(TARGET_BIG_ENDIAN)
+CFLAGS+= -DTARGET_ENDIAN_DEFAULT=ARM_FLAG_BIG_END
+.endif
+
# c-pch.o needs extra defines. Replicate the rule here rather than
# pollute compiler command line for all other files.
c-pch.o: c-pch.c