Skip to content

Commit

Permalink
fix: crash when trying to show the game statistics screen, ticket #5e…
Browse files Browse the repository at this point in the history
…4a10d944

FossilOrigin-Name: 60f255fc52279b46cd6558f36202eec5f1a740a1314799873b59bac33b7a2a99
  • Loading branch information
thindil committed Jan 6, 2024
1 parent d900e82 commit 56e945c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions steamsky.gpr
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ project steamsky is
for Default_Switches ("ada") use ("-O2",
"-ffunction-sections",
"-fdata-sections",
"-s",
"-flto");
"-s");
when "analyze" =>
for Default_Switches ("ada") use ("-pg",
"-fprofile-arcs",
Expand All @@ -63,7 +62,7 @@ project steamsky is
end Compiler;

package Linker is
Release_Switches := ("-Wl,--gc-sections", "-s", "-O2", "-flto", "-lm");
Release_Switches := ("-Wl,--gc-sections", "-s", "-O2", "-lm");
case Mode is
when "debug" =>
for Default_Switches ("ada") use ("-no-pie", "-lm");
Expand Down

0 comments on commit 56e945c

Please sign in to comment.