summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2017-05-31 09:21:16 +0200
committerTupone Alfredo <tupone@gentoo.org>2017-05-31 09:21:16 +0200
commit62b045ea4e8ff326637259e4b0b7971818a1c579 (patch)
tree32efeedc106901735a09c9b64e487fcc5787c0cb /dev-ada
parentmedia-libs/glfw: Removed old. (diff)
downloadgentoo-62b045ea4e8ff326637259e4b0b7971818a1c579.tar.gz
gentoo-62b045ea4e8ff326637259e4b0b7971818a1c579.tar.bz2
gentoo-62b045ea4e8ff326637259e4b0b7971818a1c579.zip
dev-ada/gnat_util: Enable verbose mode
Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'dev-ada')
-rw-r--r--dev-ada/gnat_util/gnat_util-2016.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-ada/gnat_util/gnat_util-2016.ebuild b/dev-ada/gnat_util/gnat_util-2016.ebuild
index 51cdbdc1cf9..dd8a3f6cba1 100644
--- a/dev-ada/gnat_util/gnat_util-2016.ebuild
+++ b/dev-ada/gnat_util/gnat_util-2016.ebuild
@@ -27,6 +27,7 @@ PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
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"
@@ -36,10 +37,11 @@ pkg_setup() {
}
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
}