1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
Index: b/florist_build.gpr
===================================================================
--- a/florist_build.gpr
+++ b/florist_build.gpr
@@ -1,22 +1,8 @@
project Florist_Build is
- type Build_Type is ("Debug", "Production");
- Build : Build_Type := External ("Build", "Production");
-
package Compiler is
- GNAT_Flags := ("-O2", "-gnatpg");
-
- for Switches ("posix-signals.adb") use GNAT_Flags;
- for Switches ("posix-implementation.adb") use GNAT_Flags;
- for Switches ("posix-supplement_to_ada_io.adb") use GNAT_Flags;
- for Switches ("posix-unsafe_process_primitives.adb") use GNAT_Flags;
-
- case Build is
- when "Debug" =>
- for Default_Switches ("Ada") use ("-O2", "-gnatwae", "-gnatyg");
- when "Production" =>
- for Default_Switches ("Ada") use ("-O2", "-gnatp");
- end case;
+ for Default_Switches ("Ada") use
+ ("-g", "-O2", "-gnatVa", "-gnatafno", "-gnatwa");
end Compiler;
end Florist_Build;
|