diff --git a/shared.gpr.in b/shared.gpr.in index 274c808eeb..5951eb60fa 100644 --- a/shared.gpr.in +++ b/shared.gpr.in @@ -93,6 +93,19 @@ project Shared is null; end case; + case Build is + when "Debug" => + case OS is + when "osx" => + -- This ensure that address randomization is not active for backtracking + for Switches ("Ada") use Linker'Switches ("ada") & ("-Wl,-no_pie"); + when others => + null; + end case; + when others => + null; + end case; + case Enable_LTO is when "true" => case OS is