Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -146,3 +146,13 @@ check: all

deploy: check
integration/$(USER)/deploy.sh $(PLATFORM)

lsp_client_glib-build:
$(GPRBUILD) -P gnat/lsp_client_glib.gpr -p $(COVERAGE_BUILD_FLAGS) \
-XVERSION=$(TRAVIS_TAG)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't use travis, why we need TRAVIS_TAG?


lsp_client_glib-install:
gprinstall -f -P gnat/lsp_client_glib.gpr -p -r \
--mode=dev \
--prefix=$(DESTDIR) \
$(LIBRARY_FLAGS)
12 changes: 12 additions & 0 deletions gnat/lsp_server.gpr
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,18 @@ project LSP_Server is
when "relocatable" =>
null;
end case;
case LSP.Build_Mode is
when "prod" =>
null;
when "dev" =>
case OS is
when "osx" | "unix" =>
-- This ensure that address randomization is not active for backtracking
for Switches ("Ada") use Linker'Switches ("ada") & ("-Wl,-no_pie");
when others =>
null;
end case;
end case;
end Linker;

package Binder is
Expand Down