dev-ada/gpr: respect CFLAGS/LDFLAGS on tools too

Closes: https://bugs.gentoo.org/907055
Closes: https://bugs.gentoo.org/907056
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone 2023-05-25 18:00:28 +02:00
parent 9117f21bd4
commit 9f2b43ad6b
No known key found for this signature in database
GPG Key ID: FBE5925C5B02CE58
1 changed files with 3 additions and 2 deletions

View File

@ -81,10 +81,11 @@ src_compile() {
gprbuild -p -m -v -j$(makeopts_jobs) -XGPR2_BUILD=release \
-XLIBRARY_TYPE=${libtype} -XXMLADA_BUILD=${libtype} gpr2-tools.gpr \
|| die
-largs ${LDFLAGS} -cargs ${ADAFLAGS} || die
gprbuild -p -m -v -j$(makeopts_jobs) -XGPR2_BUILD=release \
-XLIBRARY_TYPE=${libtype} -XXMLADA_BUILD=${libtype} \
-XLANGKIT_SUPPORT_BUILD=${libtype} gpr2-name.gpr || die
-XLANGKIT_SUPPORT_BUILD=${libtype} gpr2-name.gpr \
-largs ${LDFLAGS} -cargs ${ADAFLAGS} || die
}
src_install() {