aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-11-30 02:28:09 +0000
committerSam James <sam@gentoo.org>2024-11-30 02:52:12 +0000
commitc272f335f8b0df15f724e9ee3e2289a9deddbd11 (patch)
tree1ffe020cdcf0f145548d18c3af19f02257982096
parentcrossdev: nvptx target fixes (diff)
downloadcrossdev-c272f335f8b0df15f724e9ee3e2289a9deddbd11.tar.gz
crossdev-c272f335f8b0df15f724e9ee3e2289a9deddbd11.tar.bz2
crossdev-c272f335f8b0df15f724e9ee3e2289a9deddbd11.zip
crossdev: don't turn off openmp/fortran for nvptx
openmp and fortran are rather useful for offloading. Not clear to me whether or not we can turn this on for newlib in general wrt bug #489798 and bug #589672. Bug: https://bugs.gentoo.org/489798 Bug: https://bugs.gentoo.org/589672 Bug: https://bugs.gentoo.org/945296 Signed-off-by: Sam James <sam@gentoo.org>
-rwxr-xr-xcrossdev3
1 files changed, 1 insertions, 2 deletions
diff --git a/crossdev b/crossdev
index 60db465..f26da45 100755
--- a/crossdev
+++ b/crossdev
@@ -307,8 +307,7 @@ parse_target() {
# TODO: deduplicate this with newlib block below
GMASK+=" default-stack-clash-protection hardened ssp"
- GUSE+=" cxx -openmp" #489798
- GUSE+=" -fortran" #589672, needs syscalls
+ GUSE+=" cxx"
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