commit:     648bcbb7da7f164dfc27dd18326840808c06d01d
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 28 19:42:59 2024 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Dec 28 19:43:25 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=648bcbb7

ada.eclass: add CHOST to gnatmake

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 eclass/ada.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/ada.eclass b/eclass/ada.eclass
index 9206bfcc42ca..3d22dd5d2a61 100644
--- a/eclass/ada.eclass
+++ b/eclass/ada.eclass
@@ -282,7 +282,7 @@ ada_export() {
                                debug-print "${FUNCNAME}: GNATBIND = 
${GNATBIND}"
                                ;;
                        GNATMAKE)
-                               export 
GNATMAKE=${EPREFIX}/usr/bin/gnatmake-${gcc_pv}
+                               export 
GNATMAKE=${EPREFIX}/usr/bin/${CHOST}-gnatmake-${gcc_pv}
                                debug-print "${FUNCNAME}: GNATMAKE = 
${GNATMAKE}"
                                ;;
                        GNATLS)

Reply via email to