export GCC_PV=${gcc_pv}
debug-print "${FUNCNAME}: GCC_PV = ${GCC_PV}"
;;
+ GNAT)
+ export GNAT=${EPREFIX}/usr/bin/gnat-${gcc_pv}
+ debug-print "${FUNCNAME}: GNAT = ${GNAT}"
+ ;;
GNATBIND)
export GNATBIND=${EPREFIX}/usr/bin/gnatbind-${gcc_pv}
debug-print "${FUNCNAME}: GNATBIND = ${GNATBIND}"
if [[ ${#_ADA_SUPPORTED_IMPLS[@]} -eq 1 ]]; then
if use "ada_target_${_ADA_SUPPORTED_IMPLS[0]}"; then
# Only one supported implementation, enable it explicitly
- ada_export "${_ADA_SUPPORTED_IMPLS[0]}" EADA GCC_PV
+ ada_export "${_ADA_SUPPORTED_IMPLS[0]}" EADA GCC_PV GNAT
ada_wrapper_setup
fi
else
die "More than one implementation in ADA_TARGET."
fi
- ada_export "${impl}" EADA GCC GCC_PV GNATMAKE
+ ada_export "${impl}" EADA GCC_PV GNAT
ada_wrapper_setup
fi
done