summarylogtreecommitdiffstats
path: root/patch-shared.gpr.in
blob: b832fd02b75fdc4042fcf42a3c0039e7040d4817 (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
*** shared.gpr.in	2016-06-02 17:14:52.592420447 +1000
--- shared.gpr.in-new	2016-06-02 17:15:12.539087932 +1000
***************
*** 63,74 ****
               for Switches ("Ada") use
                  ("-gnat05", "-gnatQ", "-gnatwae", "-gnatay", "-g", "-O0",
                   "-Werror=format-security");
!              for Switches ("C") use ("-g", "-O0");
           when "Production" =>
               for Switches ("Ada") use
                  ("-gnat05", "-gnatQ", "-O2", "-gnatn", "-gnatws",
                   "-Werror=format-security");
!              for Switches ("C") use ("-O2");
        end case;
  
        for Switches ("C") use Compiler'Switches ("C") & Gtk_Include;
--- 63,74 ----
               for Switches ("Ada") use
                  ("-gnat05", "-gnatQ", "-gnatwae", "-gnatay", "-g", "-O0",
                   "-Werror=format-security");
!              for Switches ("C") use ("-g", "-O0", "-fPIC");
           when "Production" =>
               for Switches ("Ada") use
                  ("-gnat05", "-gnatQ", "-O2", "-gnatn", "-gnatws",
                   "-Werror=format-security");
!              for Switches ("C") use ("-O2", "-fPIC");
        end case;
  
        for Switches ("C") use Compiler'Switches ("C") & Gtk_Include;