Change compilation switches
This commit is contained in:
parent
2ce6e5ef82
commit
c4ebe23f73
|
|
@ -17,9 +17,9 @@ library project Runtime is
|
|||
|
||||
package Compiler is
|
||||
COMMON_FLAGS := ("-ffunction-sections", "-fdata-sections");
|
||||
COMMON_FLAGS := COMMON_FLAGS & ("-g", "-Og");
|
||||
COMMON_FLAGS := COMMON_FLAGS & ("-g", "-Os");
|
||||
ALL_ADAFLAGS :=
|
||||
("-gnatwae", "-gnatpgn", "-gnatqQ", "-nostdinc")
|
||||
("-gnatwae", "-gnatpgn", "-gnatqQ", "-nostdinc", "-gnat2022")
|
||||
& COMMON_FLAGS
|
||||
& external_as_list ("EXTRA_ADAFLAGS", " ");
|
||||
|
||||
|
|
@ -30,9 +30,6 @@ library project Runtime is
|
|||
& external_as_list("DEFINES", " ")
|
||||
& ("-DIN_RTS", "-Dinhibit_libc") & COMMON_FLAGS;
|
||||
|
||||
NO_SIBLING_ADAFLAGS := ("-fno-optimize-sibling-calls");
|
||||
NO_REORDER_ADAFLAGS := ("-fno=toplevel-reorder");
|
||||
|
||||
for Switches ("C") use ALL_CFLAGS;
|
||||
for Switches ("Ada") use ALL_ADAFLAGS;
|
||||
end Compiler;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user