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-31 21:11:01 +11:00
parent f81e37c583
commit a1c42d1e10

View File

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