diff options
author | 2024-12-01 23:04:50 +0000 | |
---|---|---|
committer | 2024-12-01 23:04:50 +0000 | |
commit | 9e258378b3b596b14130a8538fc37193e3abd5e1 (patch) | |
tree | 4f816637661bfa62834ddfa76031363a235000a9 | |
parent | Makefile: fix tarball generation (diff) | |
download | crossdev-9e258378b3b596b14130a8538fc37193e3abd5e1.tar.gz crossdev-9e258378b3b596b14130a8538fc37193e3abd5e1.tar.bz2 crossdev-9e258378b3b596b14130a8538fc37193e3abd5e1.zip |
crossdev: nvptx: disable irrelevant languages and force necessary ones on
Link: https://gcc.gnu.org/legacy-ml/gcc/2018-03/msg00122.html
Bug: https://bugs.gentoo.org/945296
Signed-off-by: Sam James <sam@gentoo.org>
-rwxr-xr-x | crossdev | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -299,6 +299,7 @@ parse_target() { WITH_DEF_HEADERS="no" ;; + # Offload targets nvptx*) KPKG="[none]" BPKG="nvptx-tools" @@ -308,11 +309,14 @@ parse_target() { # They also often want Fortran. STAGE_DEFAULT=${STAGE_C_CPP} GUSE+=" cxx openmp fortran" + GFORCE+=" cxx openmp fortran" + # https://gcc.gnu.org/legacy-ml/gcc/2018-03/msg00122.html + GMASK+=" ada d go graphite modula2 rust" - # TODO: deduplicate this with newlib block below GMASK+=" default-stack-clash-protection hardened ssp" 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" ;; |