summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2022-10-04 22:37:45 +0200
committerAlfredo Tupone <tupone@gentoo.org>2022-10-04 22:37:45 +0200
commit3f462f4014fcd0fb988d5c39d40f8f6c57f9dc80 (patch)
tree7f74a0a0e9667c8bff54fb4c7b7272889d5d9386 /dev-ada
parentfeatures/musl/package.mask: mask sys-apps/tas (diff)
downloadgentoo-3f462f4014fcd0fb988d5c39d40f8f6c57f9dc80.tar.gz
gentoo-3f462f4014fcd0fb988d5c39d40f8f6c57f9dc80.tar.bz2
gentoo-3f462f4014fcd0fb988d5c39d40f8f6c57f9dc80.zip
dev-ada/ada_language_server: add gcc_12_2_0
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ada')
-rw-r--r--dev-ada/ada_language_server/ada_language_server-22.0.0.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-ada/ada_language_server/ada_language_server-22.0.0.ebuild b/dev-ada/ada_language_server/ada_language_server-22.0.0.ebuild
index 42dbadb2cd65..61b19f50e06c 100644
--- a/dev-ada/ada_language_server/ada_language_server-22.0.0.ebuild
+++ b/dev-ada/ada_language_server/ada_language_server-22.0.0.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-ADA_COMPAT=( gnat_202{0,1} )
+ADA_COMPAT=( gnat_202{0,1} gcc_12_2_0 )
inherit ada multiprocessing
DESCRIPTION="an implementation of the Microsoft Language Server Protocol for Ada/SPARK"
@@ -33,21 +33,27 @@ REQUIRED_USE="${ADA_REQUIRED_USE}"
src_compile() {
gprbuild -v -j$(makeopts_jobs) -P gnat/tester.gpr -p \
-XLIBRARY_TYPE=relocatable \
+ -XBUILD_MODE=prod \
-cargs:Ada ${ADAFLAGS} || die
gprbuild -v -j$(makeopts_jobs) -c -u -P gnat/lsp_server.gpr -p \
-XLIBRARY_TYPE=relocatable s-memory.adb \
+ -XBUILD_MODE=prod \
-cargs:Ada ${ADAFLAGS} || die
gprbuild -v -j$(makeopts_jobs) -P gnat/lsp_server.gpr -p \
-XLIBRARY_TYPE=relocatable -XVERSION= \
+ -XBUILD_MODE=prod \
-cargs:Ada ${ADAFLAGS} || die
gprbuild -v -j$(makeopts_jobs) -P gnat/codec_test.gpr -p \
-XLIBRARY_TYPE=relocatable \
+ -XBUILD_MODE=prod \
-cargs:Ada ${ADAFLAGS} || die
gprbuild -v -j$(makeopts_jobs) -P gnat/lsp_client.gpr -p \
-XLIBRARY_TYPE=relocatable \
+ -XBUILD_MODE=prod \
-cargs:Ada ${ADAFLAGS} || die
gprbuild -v -j$(makeopts_jobs) -P gnat/lsp_client_glib.gpr -p \
-XLIBRARY_TYPE=relocatable \
+ -XBUILD_MODE=prod \
-cargs:Ada ${ADAFLAGS} || die
mkdir -p integration/vscode/ada/linux
cp -f .obj/server/ada_language_server integration/vscode/ada/linux || die