commit: f212c4740e1e16748d965bbd80155fcdfd4786a1 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat Nov 30 02:06:58 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Nov 30 02:08:20 2024 +0000 URL: https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=f212c474
crossdev: nvptx target fixes * We don't need linux-headers * Set the same GMASK/GUSE as newlib (not sure how useful the multilib bit here is, mind) Bug: https://bugs.gentoo.org/945296 Signed-off-by: Sam James <sam <AT> gentoo.org> crossdev | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/crossdev b/crossdev index 82183bb..60db465 100755 --- a/crossdev +++ b/crossdev @@ -300,9 +300,19 @@ parse_target() { ;; nvptx*) + KPKG="[none]" BPKG="nvptx-tools" LPKG="newlib" STAGE_DEFAULT=${STAGE_LIBC} + + # TODO: deduplicate this with newlib block below + GMASK+=" default-stack-clash-protection hardened ssp" + GUSE+=" cxx -openmp" #489798 + GUSE+=" -fortran" #589672, needs syscalls + GUSE+=" -hardened" #687598, needs -fstack-check=specific support + GUSE+=" -default-stack-clash-protection -ssp" # SSP isn't supported for freestanding anyway + MULTILIB_USE="yes" #407275 + WITH_DEF_HEADERS="no" ;; # due to upstream lameness, build C/C++ at first glance