Skip to content

Commit

Permalink
Actually supply -gnatW8 in the project file
Browse files Browse the repository at this point in the history
  • Loading branch information
mosteo authored and Fabien-Chouteau committed Mar 31, 2023
1 parent ce46682 commit 8d26222
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions config/clic_config.gpr
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ abstract project Clic_Config is
Ada_Compiler_Switches := External_As_List ("ADAFLAGS", " ");
Ada_Compiler_Switches := Ada_Compiler_Switches &
(
"-O3" -- Optimize for performance
,"-gnatn" -- Enable inlining
"-O3" -- Optimize for performance
,"-gnatn" -- Enable inlining
,"-ffunction-sections" -- Separate ELF section for each function
,"-fdata-sections" -- Separate ELF section for each variable
,"-fdata-sections" -- Separate ELF section for each variable
,"-gnatW8" -- use UTF-8 Encoding for Source Files
);

type Build_Profile_Kind is ("release", "validation", "development");
Expand Down

0 comments on commit 8d26222

Please sign in to comment.