1 abstract project Libgnat_Common is
3 Common_Flags := Split (External ("CFLAGS", "-O2 -g"), " ");
4 C_Flags := Common_Flags &
5 ("-I../include", "-DIN_RTS=1", "-fexceptions",
7 External_As_List ("EXTRALIBFLAGS", " ");
8 Ada_Flags := Common_Flags & ("-nostdinc", "-I../adainclude", "-gnatg")
9 & Split (External ("ADAFLAGS", "-gnatpg"), " ");
10 Library_Kind := External ("LIBRARY_KIND", "static");
13 Force_Debug := ("-g");
14 No_Inline := ("-fno-inline");
15 No_Omit := ("-fno-omit-frame-pointer");
16 No_Sibling := ("-fno-optimize-sibling-calls");
17 No_Reorder := ("-fno-toplevel-reorder", "-O0");