commit: 0261fe00ae660641f280144000c7b191e01936c1 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Thu Jan 2 23:25:18 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Jan 2 23:26:45 2025 +0000 URL: https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=0261fe00
crossdev: build C++ by default for *-newlib/*-elf/*-avr etc These days, tutorials and classes expect a C++ compiler for arm-none-eabi and friends and it often confuses users. Stop overriding the crossdev default (which is -s4) for these targets accordingly. Bug: https://bugs.gentoo.org/900713 Bug: https://bugs.gentoo.org/939677 Signed-off-by: Sam James <sam <AT> gentoo.org> crossdev | 2 -- 1 file changed, 2 deletions(-) diff --git a/crossdev b/crossdev index 096169f..cfdb93f 100755 --- a/crossdev +++ b/crossdev @@ -267,7 +267,6 @@ parse_target() { GUSE+=" -fortran -go" # doesn't work MULTILIB_USE="yes" #377039 BUSE+=" cxx" - STAGE_DEFAULT=${STAGE_LIBC} WITH_DEF_HEADERS="no" ;; @@ -407,7 +406,6 @@ parse_target() { *-newlib|*-elf|*-eabi|*-rtems*) LPKG="newlib" KPKG="[none]" - STAGE_DEFAULT=${STAGE_LIBC} GMASK+=" default-stack-clash-protection hardened ssp" GUSE+=" cxx -openmp" #489798 GUSE+=" -fortran" #589672, needs syscalls
