mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04: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
1 changed files with 3 additions and 0 deletions
|
|
@ -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 a new issue