Skip to content

Commit

Permalink
dev-ada/gpr: respect CFLAGS/LDFLAGS on tools too
Browse files Browse the repository at this point in the history
  • Loading branch information
atupone committed May 25, 2023
1 parent 9117f21 commit 9f2b43a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dev-ada/gpr/gpr-23.0.0-r5.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 9f2b43a

Please sign in to comment.