diff options
author | Raul E Rangel <rrangel@chromium.org> | 2023-04-19 15:54:01 -0600 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2023-06-24 23:56:55 +0100 |
commit | bec5d131862313fe6ee3628f0591947abe679591 (patch) | |
tree | 05262461843e283af3916e88b379e45d0d232b0a /games-board/gnome-mahjongg | |
parent | sys-devel/gcc: add 13.1.1_p20230624 (diff) | |
download | gentoo-bec5d131862313fe6ee3628f0591947abe679591.tar.gz gentoo-bec5d131862313fe6ee3628f0591947abe679591.tar.bz2 gentoo-bec5d131862313fe6ee3628f0591947abe679591.zip |
cmake.eclass: Set CMAKE_SYSROOT when building with SYSROOT=
When performing a SYSROOT= build, the --sysroot parameter was not
getting passed to the compiler if the CBUILD and CHOST matched. This
results in the build attempting to use BROOT libraries and headers
instead of the ones from the SYSROOT.
This change will allow `llvm` to be built into a new SYSROOT.
ROOT=/build/amd64-host emerge sys-devel/llvm
Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Closes: https://github.com/gentoo/gentoo/pull/30658
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'games-board/gnome-mahjongg')
0 files changed, 0 insertions, 0 deletions