diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2023-05-25 18:00:28 +0200 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2023-05-25 18:01:16 +0200 |
commit | 9f2b43ad6b84f8631525ebc1dcf62d51b3e86bf1 (patch) | |
tree | 341cfd3b90457ede6e28415d1104aa65b047c15a /dev-ada | |
parent | dev-python/pytest-freezegun: Add GH remote-id (diff) | |
download | gentoo-9f2b43ad6b84f8631525ebc1dcf62d51b3e86bf1.tar.gz gentoo-9f2b43ad6b84f8631525ebc1dcf62d51b3e86bf1.tar.bz2 gentoo-9f2b43ad6b84f8631525ebc1dcf62d51b3e86bf1.zip |
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>
Diffstat (limited to 'dev-ada')
-rw-r--r-- | dev-ada/gpr/gpr-23.0.0-r5.ebuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dev-ada/gpr/gpr-23.0.0-r5.ebuild b/dev-ada/gpr/gpr-23.0.0-r5.ebuild index a34672aacd21..aa11d9152470 100644 --- a/dev-ada/gpr/gpr-23.0.0-r5.ebuild +++ b/dev-ada/gpr/gpr-23.0.0-r5.ebuild @@ -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() { |