Skip to content

Commit

Permalink
dev-ada/libadalang: use LDFLAGS
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/829869
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <[email protected]>
  • Loading branch information
atupone committed Dec 24, 2021
1 parent 85ec082 commit 8ba0d09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dev-ada/libadalang/libadalang-22.0.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ src_compile() {
${EPYTHON} manage.py build -v \
--build-mode "prod" \
-j$(makeopts_jobs) \
--gargs "-cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS}" \
--gargs "-cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} -largs:C ${LDFLAGS}" \
--library-types=${libType} || die
GPR_PROJECT_PATH="${S}"/build \
gprbuild -P contrib/highlight/highlight.gpr \
Expand All @@ -76,6 +76,7 @@ src_compile() {
-XLIBRARY_TYPE=relocatable \
-XXMLADA_BUILD=relocatable \
-cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} \
-largs:C ${LDFLAGS} \
|| die
}

Expand Down

0 comments on commit 8ba0d09

Please sign in to comment.