lace_shared: Add 'for Global_Configuration_Pragmas use "debug.pra";' to Builder, without which opengl code breaks.

This commit is contained in:
Rod Kay
2023-12-09 15:03:13 +11:00
parent c8e7f787c1
commit dff24fcb37

View File

@@ -148,7 +148,8 @@ is
is
when "debug" => for Global_Configuration_Pragmas use "debug.pra";
for Default_Switches ("ada") use ("-C", "-j0", "-gnat2022"); -- TODO: Create and use a Builder_Options variable ?
when "fast" => for Default_Switches ("ada") use ("-C", "-j0", "-gnat2022");
when "fast" => for Global_Configuration_Pragmas use "debug.pra"; -- TODO: Without this, openGL fails. Ivestigate.
for Default_Switches ("ada") use ("-C", "-j0", "-gnat2022");
when "small" => null;
end case;
end Builder;