aboutsummaryrefslogtreecommitdiff
path: root/proj
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2025-04-10 00:04:31 +1200
committerJedidiah Barber <contact@jedbarber.id.au>2025-04-10 00:04:31 +1200
commit8e59d5aa80705a03ad39d925c1c2ca0523d964a8 (patch)
tree2cbe06e8c3664b966ddc0236def47f9275195ff9 /proj
parenta41dedec645a0894d9173e5de0b502f727572f62 (diff)
Stack trace and optimisation compilation switch tweaks
Diffstat (limited to 'proj')
-rw-r--r--proj/common.gpr6
1 files 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;