diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2019-11-23 19:35:09 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2019-11-23 19:35:09 +0000 |
commit | 1bb8eb56ef2a2116347106c2df381e7d6801f328 (patch) | |
tree | cdfc821aec6e132d22b87b3dc21b9b636bb9f21b /lib/libclang_rt | |
parent | be252a414fcb69b1e19f16cf39e54066a1a13442 (diff) | |
download | src-test2-1bb8eb56ef2a2116347106c2df381e7d6801f328.tar.gz src-test2-1bb8eb56ef2a2116347106c2df381e7d6801f328.zip |
libclang_rt: enable on powerpc*
Summary:
Enable on powerpc64 and in lib/libclang_rt/Makefile change
MACHINE_CPUARCH to MACHINE_ARCH because on powerpc64
MACHINE_ARCH==MACHINE_CPUARCH so the 32-bit library overwrites 64-bit
library during installworld.
This patch doesn't enable any other libclang_rt libraries because they
need to be separately ported.
I have verified that games/julius (which fails on powerpc64 elfv2
without this change because of no libclang_rt profiling library) builds.
Test Plan: Ship it, test on powerpc and powerpcspe
Submitted by: pkubaj
Reviewed by: dim, jhibbits
Differential Revision: https://reviews.freebsd.org/D22425
MFC after: 1 month
X-MFC-With: r353358
Notes
Notes:
svn path=/head/; revision=355034
Diffstat (limited to 'lib/libclang_rt')
-rw-r--r-- | lib/libclang_rt/Makefile.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libclang_rt/Makefile.inc b/lib/libclang_rt/Makefile.inc index bb5c6c9194ac..aeaba094af5e 100644 --- a/lib/libclang_rt/Makefile.inc +++ b/lib/libclang_rt/Makefile.inc @@ -8,7 +8,7 @@ (!defined(CPUTYPE) || ${CPUTYPE:M*soft*} == "") CRTARCH?= armhf .else -CRTARCH?= ${MACHINE_CPUARCH:C/amd64/x86_64/} +CRTARCH?= ${MACHINE_ARCH:C/amd64/x86_64/} .endif CRTSRC= ${SRCTOP}/contrib/compiler-rt |