summaryrefslogtreecommitdiff
blob: fb494aeaafcc2d6c7ef7f8519e050276525f6992 (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
37
38
39
--- gprbuild-2017/gpr/gpr.gpr.old	2017-05-27 20:59:07.061135892 +0200
+++ gprbuild-2017/gpr/gpr.gpr	2017-05-27 20:59:38.022638398 +0200
@@ -67,6 +67,7 @@
             for Switches ("gpr*.ad?") use
               Compiler'Default_Switches ("Ada") & ("-g1");
       end case;
+      for Driver ("C") use External ("CC", "gcc");
    end Compiler;
 
 end GPR;
--- gprbuild-17.0/src/gprbuild-post_compile.adb.old	2017-05-18 14:17:06.114797015 +0200
+++ gprbuild-17.0/src/gprbuild-post_compile.adb	2017-05-18 14:18:55.466956852 +0200
@@ -4744,7 +4744,9 @@
                                  No_Create => Proj.Is_Aggregated);
                            end if;
 
-                           Shared_Libs := not Is_Static (Proj.Proj);
+                           if not Is_Static (Proj.Proj) then
+                              Shared_Libs := True;
+                           end if;
 
                         end if;
                      end if;
--- gprbuild-17.0/gpr/src/gpr-conf.adb.old	2017-05-17 14:40:26.000000000 +0200
+++ gprbuild-17.0/gpr/src/gpr-conf.adb	2017-11-10 22:44:38.482432592 +0100
@@ -1932,6 +1932,13 @@
                end if;
             end if;
 
+            Compiler_Root := First_Compiler_Root;
+            First_Compiler_Root :=
+              new Compiler_Root_Data'
+                (Root => new String'("/usr"),
+                 Runtimes => null,
+                 Next => Compiler_Root);
+
             --  Reorder the compiler roots in the PATH order
 
             if First_Compiler_Root /= null