summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2021-12-24 23:12:36 +0100
committerAlfredo Tupone <tupone@gentoo.org>2021-12-24 23:12:36 +0100
commit8ba0d090dedc66de57363af399b287494aa9253d (patch)
tree4bc2d673261e3f930407d042083dde381b428f50
parentdev-ada/libadalang: build examples (diff)
downloadgentoo-8ba0d090dedc66de57363af399b287494aa9253d.tar.gz
gentoo-8ba0d090dedc66de57363af399b287494aa9253d.tar.bz2
gentoo-8ba0d090dedc66de57363af399b287494aa9253d.zip
dev-ada/libadalang: use LDFLAGS
Closes: https://bugs.gentoo.org/829869 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
-rw-r--r--dev-ada/libadalang/libadalang-22.0.0.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-ada/libadalang/libadalang-22.0.0.ebuild b/dev-ada/libadalang/libadalang-22.0.0.ebuild
index 5cdedddef0be..fb13c72f8afe 100644
--- a/dev-ada/libadalang/libadalang-22.0.0.ebuild
+++ b/dev-ada/libadalang/libadalang-22.0.0.ebuild
@@ -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 \
@@ -76,6 +76,7 @@ src_compile() {
-XLIBRARY_TYPE=relocatable \
-XXMLADA_BUILD=relocatable \
-cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} \
+ -largs:C ${LDFLAGS} \
|| die
}