HomeFreeBSD

Define TARGET_CPUARCH and use in libclang_rt as the basis for CRTARCH

Description

Define TARGET_CPUARCH and use in libclang_rt as the basis for CRTARCH

When cross-compiling, the wrong architecture was being embedded in the
libclang_rt binary filenames. It should be based on TARGET_ARCH (target), not
MACHINE_ARCH (host).

This is a draft commit against my project branch. Will fix on ^/head soon.

PR: 222925

Details

Provenance
ngieAuthored on
Parents
rS324872: Install missing test input file missed in r324418
Branches
Unknown
Tags
Unknown