Skip to content

Commit 4c30c99

Browse files
author
mergerepo
committed
Merge remote branch 'origin/master' into edge
(no-precommit-check no-tn-check)
2 parents 7cd490f + f886662 commit 4c30c99

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

gnat/lsp_server.gpr

+4-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,10 @@ project LSP_Server is
5959
when "static" | "static-pic" =>
6060
case OS is
6161
when "Windows_NT" =>
62-
for Switches ("Ada") use ("-static", "-static-libstdc++", "-static-libgcc");
62+
for Switches ("Ada") use
63+
("-static", "-static-libstdc++", "-static-libgcc",
64+
"-fstack-protector");
65+
-- Stack protector forces libssp.a linking for libgmp.a
6366
when "osx" | "unix" =>
6467
-- On UNIX, we want to link libc dynamically: needed to find
6568
-- a recent version of iconv_open (and a recommended practice)

0 commit comments

Comments
 (0)