blob: b33073afa4438aa4491d9b0e3e6fe3db7a205a35 (
plain)
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
30
31
32
33
34
35
36
|
--- aws-gpl-2016-src/shared.gpr.old 2017-01-30 20:00:39.022743691 +0100
+++ aws-gpl-2016-src/shared.gpr 2017-01-30 20:01:20.524985069 +0100
@@ -130,6 +130,7 @@
package Compiler is
for Driver ("Makefile") use "";
+ for Driver ("C") use External ("GCC", "gcc");
case Build is
when "Debug" =>
@@ -151,11 +151,11 @@
end case;
for Switches ("aws-attachments.adb")
- use Common_Options & Debug_Options & ("-gnatVn");
+ use Common_Options & Debug_Options & ("-gnatVn") & Adaflags;
for Switches ("aws-session.adb")
- use Common_Options & Debug_Options & ("-gnatVn");
+ use Common_Options & Debug_Options & ("-gnatVn") & Adaflags;
for Switches ("templates_parser.adb")
- use Common_Options & Debug_Options & ("-gnatVn");
+ use Common_Options & Debug_Options & ("-gnatVn") & Adaflags;
-- Disable validity check on this unit to work-around N728-028
-- ADAFLAGS and CFLAGS should come last so that command line
--- aws-gpl-2016-src/include/include.gpr.old 2017-02-17 22:09:14.361695926 +0100
+++ aws-gpl-2016-src/include/include.gpr 2017-02-17 22:11:36.497215517 +0100
@@ -54,7 +54,7 @@
when "Release" =>
for Default_Switches ("Ada") use
- ("-gnat2012", "-O2", "-gnatws", "-gnatn") & Shared.Global_Options;
+ ("-gnat2012", "-O2", "-gnatws", "-gnatn") & Shared.Adaflags & Shared.Global_Options;
end case;
case Shared.S_Target is
|