From 8e59d5aa80705a03ad39d925c1c2ca0523d964a8 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Thu, 10 Apr 2025 00:04:31 +1200 Subject: Stack trace and optimisation compilation switch tweaks --- proj/common.gpr | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/proj/common.gpr b/proj/common.gpr index c4bea2f..0da596c 100644 --- a/proj/common.gpr +++ b/proj/common.gpr @@ -59,8 +59,8 @@ abstract project Common is case Ver is when "release" => - for Default_Switches ("Ada") use Ada_Common & "-O3" & "-Os" & "-gnatn"; - for Default_Switches ("C++") use CPP_Common & "-O3" & "-Os"; + for Default_Switches ("Ada") use Ada_Common & "-O3" & "-gnatn"; + for Default_Switches ("C++") use CPP_Common & "-O3"; when "debug" => for Default_Switches ("Ada") use Ada_Common & "-O0" & "-gnata" & "-gnato" & "-g"; @@ -79,7 +79,7 @@ abstract project Common is null; when "debug" => - for Default_Switches ("Ada") use Binder'Default_Switches ("Ada") & "-E"; + for Default_Switches ("Ada") use Binder'Default_Switches ("Ada") & "-Es"; end case; end Binder; -- cgit