From dff24fcb37b535fd17285442f86479592381f452 Mon Sep 17 00:00:00 2001 From: Rod Kay Date: Sat, 9 Dec 2023 15:03:13 +1100 Subject: [PATCH] lace_shared: Add 'for Global_Configuration_Pragmas use "debug.pra";' to Builder, without which opengl code breaks. --- 0-floor/lace_shared/lace_shared.gpr | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/0-floor/lace_shared/lace_shared.gpr b/0-floor/lace_shared/lace_shared.gpr index e9a9970..72bc877 100644 --- a/0-floor/lace_shared/lace_shared.gpr +++ b/0-floor/lace_shared/lace_shared.gpr @@ -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;