diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2024-03-21 13:53:36 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2024-03-21 17:05:25 +0000 |
| commit | f0620ceeccf070a69352105c5dbc23cff499a732 (patch) | |
| tree | 3557dac6ebcd0e13fd7db1f14bf96749514a6ed0 | |
| parent | 173953182af060dcab43990e179ee91e9f2d1e54 (diff) | |
| download | src-f0620ceeccf070a69352105c5dbc23cff499a732.tar.gz src-f0620ceeccf070a69352105c5dbc23cff499a732.zip | |
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
| -rw-r--r-- | lib/libclang_rt/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libclang_rt/Makefile b/lib/libclang_rt/Makefile index 46f7fdf814be..984da3f34156 100644 --- a/lib/libclang_rt/Makefile +++ b/lib/libclang_rt/Makefile @@ -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} |
