mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-05 09:14:03 +00:00
Define build 'as' TARGET_BYTES_BIG_ENDIAN if "TARGET_BIG_ENDIAN" is defined.
This is needed for bi-sex architectures.
This commit is contained in:
parent
9fdecced07
commit
78b00795ef
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=162219
@ -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}\"
|
||||
|
Loading…
Reference in New Issue
Block a user