commit:     c272f335f8b0df15f724e9ee3e2289a9deddbd11
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 30 02:28:09 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 30 02:52:12 2024 +0000
URL:        https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=c272f335

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 <AT> gentoo.org>

 crossdev | 3 +--
 1 file changed, 1 insertion(+), 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

Reply via email to