d641b0caff
it appropriately when building share/ctypedef and share/colldef. This makes the resulting locale data in EL->EB (amd64->powerpc64) cross build and in the native EB build match. Revert the changes done to libc in r308170 as they are no longer needed. PR: 231965 Reviewed by: bapt, emaste, sbruno, 0mp Approved by: kib (mentor) Differential Revision: https://reviews.freebsd.org/D17603
22 lines
656 B
Makefile
22 lines
656 B
Makefile
# $FreeBSD$
|
|
|
|
.if ${MACHINE_ARCH} == "aarch64" || \
|
|
${MACHINE_ARCH} == "amd64" || \
|
|
${MACHINE_ARCH} == "i386" || \
|
|
(${MACHINE} == "arm" && ${MACHINE_ARCH:Marm*eb*} == "") || \
|
|
${MACHINE_CPUARCH} == "riscv" || \
|
|
${MACHINE_ARCH:Mmips*el*} != ""
|
|
TARGET_ENDIANNESS= 1234
|
|
CAP_MKDB_ENDIAN= -l
|
|
LOCALEDEF_ENDIAN= -l
|
|
.elif ${MACHINE_ARCH} == "powerpc" || \
|
|
${MACHINE_ARCH} == "powerpc64" || \
|
|
${MACHINE_ARCH} == "powerpcspe" || \
|
|
${MACHINE_ARCH} == "sparc64" || \
|
|
(${MACHINE} == "arm" && ${MACHINE_ARCH:Marm*eb*} != "") || \
|
|
${MACHINE_ARCH:Mmips*} != ""
|
|
TARGET_ENDIANNESS= 4321
|
|
CAP_MKDB_ENDIAN= -b
|
|
LOCALEDEF_ENDIAN= -b
|
|
.endif
|