Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Miscellaneous convenient changes. #1084

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 10 additions & 0 deletions Makefile
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
Contributor

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
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