Fix building of several libclang_rt libraries for powerpc64 and powerp64le

I reorganized the libclang_rt Makefile in e77a1bb27574 to make it more
readable and maintainable, but the check for 32-bit powerpc was wrong.
This caused almost no libclang_rt libraries to be built for powerpc64
and powerpc64le.

PR:		262706
Reported by:	tuexen
Fixes:		e77a1bb27574
MFC after:	3 days

(cherry picked from commit f0620ceeccf070a69352105c5dbc23cff499a732)
This commit is contained in:
Dimitry Andric 2024-03-21 14:53:36 +01:00
parent 69da6e0879
commit 880f35eb5d

View file

@ -67,7 +67,7 @@ SUBDIR+= ${SD_CFI}
SUBDIR+= ${SD_SAFESTACK}
SUBDIR+= ${SD_STATS}
SUBDIR+= ${SD_UBSAN}
.elif ${MACHINE_CPUARCH} == "powerpc"
.elif ${MACHINE_ARCH} == "powerpc"
# nothing for 32-bit powerpc
.elif ${MACHINE_ARCH} == "powerpc64"
SUBDIR+= ${SD_ASAN}