Package-Manager: Portage-2.3.5, Repoman-2.3.1
pkg_setup() {
GCC=${ADA:-$(tc-getCC)}
GNATMAKE="${GCC/gcc/gnatmake}"
+ CC="${GCC}"
if [[ -z "$(type ${GNATMAKE} 2>/dev/null)" ]] ; then
eerror "You need a gcc compiler that provides the Ada Compiler:"
eerror "1) use gcc-config to select the right compiler or"
}
src_compile() {
- emake GNATMAKE=${GNATMAKE} BUILDER="gprbuild -j$(makeopts_jobs)" generate_sources
+ emake GNATMAKE="${GNATMAKE} ${ADAFLAGS}" \
+ BUILDER="gprbuild -j$(makeopts_jobs)" generate_sources
for kind in shared static static-pic; do
if use ${kind}; then
- emake BUILDER="gprbuild -j$(makeopts_jobs)" build-${kind}
+ emake BUILDER="gprbuild -v -j$(makeopts_jobs)" build-${kind}
fi
done
}