mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-05 09:14:03 +00:00
Default to big endian ARM if "TARGET_BIG_ENDIAN" is defined (& targeting ARM).
This commit is contained in:
parent
6b31c6b17f
commit
124866d539
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=162244
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user