Make gcc default to big endian when building it for a big endian target.
This was lost while migrating to gcc4. Reported by: Michael Reifenberger <mike at Reifenberger dot com> Approved by: re (blanket)
This commit is contained in:
parent
ab562eef00
commit
65875b1f58
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=172234
@ -75,6 +75,10 @@ OBJS-md+= ${GCC_CPU}-c.o
|
||||
# Target specific, C specific object file
|
||||
C_TARGET_OBJS=
|
||||
|
||||
.if ${TARGET_ARCH} == "arm" && defined(TARGET_BIG_ENDIAN)
|
||||
CFLAGS += -DTARGET_ENDIAN_DEFAULT=MASK_BIG_END
|
||||
.endif
|
||||
|
||||
# Language-specific object files for C and Objective C.
|
||||
C_AND_OBJC_OBJS = attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o \
|
||||
c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o \
|
||||
|
Loading…
Reference in New Issue
Block a user