commit: 80f7aebfa94401e62f9f8132cf2fe16b51d9be40 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Tue Oct 1 07:46:22 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Oct 1 07:46:22 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80f7aebf
toolchain.eclass: don't pass --specs= to gnat* tools The gnat* tools don't understand --specs=* and we only need to do that to ensure the compiler driver (gcc) calls the right things anyway. What we might have to do in future however is force --gcc and --link... Signed-off-by: Sam James <sam <AT> gentoo.org> eclass/toolchain.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index a9f02d6d6a46..7b302afdf5cc 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -982,7 +982,7 @@ toolchain_setup_ada() { for tool in gnat{,bind,chop,clean,kr,link,ls,make,name,prep} ; do cat <<-EOF > "${T}"/ada-wrappers/${tool} || die #!/bin/sh - exec $(type -P ${CBUILD}-${tool}-${ada_bootstrap}) --specs=${T}/ada.spec "\$@" + exec $(type -P ${CBUILD}-${tool}-${ada_bootstrap}) "\$@" EOF export "${tool^^}"="${T}"/ada-wrappers/${tool}