summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-10-01 03:04:41 +0100
committerSam James <sam@gentoo.org>2024-10-01 03:04:41 +0100
commit6971e384576057adda25bb49a45f898fa13f83b1 (patch)
tree88db4dff92b4628df906125f5e60c2e4171e8414 /eclass
parenttoolchain.eclass: small ada-bootstrap tweaks (diff)
downloadgentoo-6971e384576057adda25bb49a45f898fa13f83b1.tar.gz
gentoo-6971e384576057adda25bb49a45f898fa13f83b1.tar.bz2
gentoo-6971e384576057adda25bb49a45f898fa13f83b1.zip
toolchain.eclass: go back to PATH lookup for Ada wrappers
This should work now that we install gcc-config-style symlinks in ada-bootstrap. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 355d5e12b4b5..f9c5f58bf7d4 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -989,7 +989,7 @@ toolchain_setup_ada() {
cat <<-EOF > "${T}"/ada-wrappers/${tool} || die
#!/bin/sh
- exec ${CBUILD}-${tool}-${ada_bootstrap} --specs=${T}/ada.spec "\$@"
+ exec $(type -P ${CBUILD}-${tool}-${ada_bootstrap}) --specs=${T}/ada.spec "\$@"
EOF
export "${tool^^}"="${T}"/ada-wrappers/${tool}