summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2021-12-28 22:55:29 +0100
committerAlfredo Tupone <tupone@gentoo.org>2021-12-28 22:55:29 +0100
commitef45d2d2f0d4512a81f9b0a7836cc3bd807f7431 (patch)
treea170954fea25fb43b332e6eea178d95dee2e4ac9 /dev-ada/libadalang-tools
parentdev-python/pip: Stabilize 21.3.1-r1 x86, #830183 (diff)
downloadgentoo-ef45d2d2f0d4512a81f9b0a7836cc3bd807f7431.tar.gz
gentoo-ef45d2d2f0d4512a81f9b0a7836cc3bd807f7431.tar.bz2
gentoo-ef45d2d2f0d4512a81f9b0a7836cc3bd807f7431.zip
dev-ada/libadalang-tools: respect ADAFLAGS
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ada/libadalang-tools')
-rw-r--r--dev-ada/libadalang-tools/libadalang-tools-22.0.0-r1.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-ada/libadalang-tools/libadalang-tools-22.0.0-r1.ebuild b/dev-ada/libadalang-tools/libadalang-tools-22.0.0-r1.ebuild
index 6f6abba04eaa..2b008feb5445 100644
--- a/dev-ada/libadalang-tools/libadalang-tools-22.0.0-r1.ebuild
+++ b/dev-ada/libadalang-tools/libadalang-tools-22.0.0-r1.ebuild
@@ -29,10 +29,12 @@ BDEPEND="dev-ada/gprbuild[${ADA_USEDEP}]"
src_compile() {
build () {
gprbuild -v -k -XLIBRARY_TYPE=$1 -XBUILD_MODE=prod \
- -P src/lal_tools.gpr -p -j$(makeopts_jobs) || die
+ -P src/lal_tools.gpr -p -j$(makeopts_jobs) \
+ -cargs:Ada ${ADAFLAGS} || die
gprbuild -v -k -XLIBRARY_TYPE=$1 -XXMLADA_BUILD=$1 \
-XBUILD_MODE=prod -XLALTOOLS_SET=all \
- -P src/build.gpr -p -j$(makeopts_jobs) || die
+ -P src/build.gpr -p -j$(makeopts_jobs) \
+ -cargs:Ada ${ADAFLAGS} || die
}
if use shared; then
build relocatable