1abstract project Libgnat_Common is 2 3 Common_Flags := Split (External ("CFLAGS", "-O2 -g"), " "); 4 C_Flags := Common_Flags & 5 ("-I../include", "-DIN_RTS=1", "-fexceptions", 6 "-DSTANDALONE") & 7 External_As_List ("EXTRALIBFLAGS", " "); 8 Ada_Flags := Common_Flags & ("-nostdinc", "-I../adainclude") 9 & Split (External ("ADAFLAGS", "-gnatpg"), " "); 10 Library_Kind := External ("LIBRARY_KIND", "static"); 11 12 No_Opt := ("-O0"); 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"); 18 19end Libgnat_Common; 20