Skip to content

Commit 60627a5

Browse files
Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Elie Richa <[email protected]>
1 parent af5978f commit 60627a5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Makefile

+3-2
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,9 @@ all: coverage-instrument
107107
ifeq ($(ALIRE),True)
108108
alr build -- -XVERSION=$(VERSION) -XBUILD_DATE=$(BUILD_DATE) $(GPRBUILD_FLAGS)
109109
else
110-
# We depends on our own overwritten s-memory.adb, this file is not recompiled
111-
# when the version of GNAT was changed thus force its compilation
110+
# We have our own s-memory.adb which overwrites the default System.Memory implementation
111+
# For unclear reasons, this file is not recompiled when the version of GNAT was changed
112+
# and we get link errors. As a workaround, we force its recompilation explicitly here.
112113
$(GPRBUILD) -d -ws -c -u -P gnat/lsp_server.gpr -p $(BUILD_FLAGS) s-memory.adb
113114
$(GPRBUILD) -P gnat/lsp_server.gpr -p $(COVERAGE_BUILD_FLAGS) \
114115
-XVERSION=$(VERSION) -XBUILD_DATE=$(BUILD_DATE) $(GPRBUILD_CARGS)

0 commit comments

Comments
 (0)