Skip to content

Commit

Permalink
Alire.Utils.Switches: remove -gnateE when debug info enabled (#1120)
Browse files Browse the repository at this point in the history
The switch is not compatible with embedded targets/run-times.
See #1118 .
  • Loading branch information
Fabien-Chouteau authored Jul 29, 2022
1 parent 92ccefb commit 395cdcc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/alire/alire-utils-switches.adb
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,7 @@ package body Alire.Utils.Switches is
function Get_List (S : Debug_Info_Switches) return Switch_List
is (case S.Kind is
when No => Empty_List,
when Yes => Empty_List
.Append (GNAT_Debug_Info)
.Append (GNAT_Extra_Exception_Info),
when Yes => Empty_List.Append (GNAT_Debug_Info),
when Custom => S.List);

--------------
Expand Down

0 comments on commit 395cdcc

Please sign in to comment.