summaryrefslogtreecommitdiff
path: root/devel/gprbuild-aux/patches/patch-share_gprconfig_gnat.xml
blob: deb10cb9b3ee1de90e659bc71f67111c03f115c6 (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
$NetBSD: patch-share_gprconfig_gnat.xml,v 1.3 2016/11/25 20:36:49 marino Exp $

Tailor standard gprbuild to recognize gcc-aux / Ada framework

--- share/gprconfig/gnat.xml.orig	2014-10-13 22:03:37 UTC
+++ share/gprconfig/gnat.xml
@@ -63,7 +63,7 @@
    </config>
   </configuration>
 
-  <!-- GNAT -->
+  <!-- GNAT (tailored to lang/gcc5-aux) -->
   <configuration>
    &filter_gnat;
    <config>
@@ -75,7 +75,7 @@
    end Naming;
 
    package Compiler is
-      for Driver                   ("Ada") use "${PATH(ada)}${PREFIX(ada)}gcc";
+      for Driver                   ("Ada") use "${PATH(ada)}${PREFIX(ada)}ada";
       for Language_Kind            ("Ada") use "unit_based";
       for Dependency_Kind          ("Ada") use "ALI_File";
       for Leading_Required_Switches        ("Ada") use