diff options
| author | Michal Rostecki <vadorovsky@protonmail.com> | 2024-12-02 14:04:13 +0000 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-03-17 07:21:34 +0100 |
| commit | b465171bf81e25c18bc6443185215e6f80838766 (patch) | |
| tree | 397cc2b7e836fd15ba8a662654d8949972c9cf6e /dev-python/coverage/coverage-7.7.0.ebuild | |
| parent | 7b5849b654786a81d97aaa627180ec227d61abed (diff) | |
| download | gentoo-b465171bf81e25c18bc6443185215e6f80838766.tar.gz gentoo-b465171bf81e25c18bc6443185215e6f80838766.tar.bz2 gentoo-b465171bf81e25c18bc6443185215e6f80838766.zip | |
llvm-utils.eclass: Add `llvm_cmake_use_musl` helper
Checking only for `elibc_musl` USE flag is not sufficient when building
a musl cross environment on a glibc host. In such case, the host profile
always enforces `-elibc_musl` and effectively breaks the build of LLVM
toolchain (llvm-libunwind and libcxx*).
To cover that case, provide the helper which echos `ON` under two
ciricumstances:
* `CTARGET` is `*-musl*`.
* `elibc_musl` USE flag is set.
Signed-off-by: Michal Rostecki <vadorovsky@protonmail.com>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/coverage/coverage-7.7.0.ebuild')
0 files changed, 0 insertions, 0 deletions
