dev-ada/gnatcoll-bindings: use as C compiler the one shipped with gnat
authorTupone Alfredo <tupone@gentoo.org>
Wed, 10 Oct 2018 06:32:42 +0000 (08:32 +0200)
committerTupone Alfredo <tupone@gentoo.org>
Wed, 10 Oct 2018 06:32:42 +0000 (08:32 +0200)
Closes: https://bugs.gentoo.org/668136
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

dev-ada/gnatcoll-bindings/files/gnatcoll-bindings-2018-gentoo.patch

index 9f37fea65eb927ecc4d4ea0fd227f6b7e5fac0a0..79729c228420b6a57099a141e811c64a84de03a4 100644 (file)
@@ -8,4 +8,25 @@
 +      for Driver ("C") use External ("GCC", "gcc");
     end Compiler;
  
+    package Binder is
+--- a/iconv/gnatcoll_iconv.gpr 2018-10-10 08:24:48.654714484 +0200
++++ b/iconv/gnatcoll_iconv.gpr 2018-10-10 08:24:16.926237733 +0200
+@@ -70,7 +70,7 @@
+             for Switches ("Ada") use ("-O2", "-gnatn", "-gnatwaCJ");
+             for Switches ("C") use ("-O2", "-Wunreachable-code");
+       end case;
+-
++      for Driver ("C") use External ("GCC", "gcc");
+    end Compiler;
+    package Binder is
+--- a/python/gnatcoll_python.gpr       2018-10-10 08:28:04.700481915 +0200
++++ b/python/gnatcoll_python.gpr       2018-10-10 08:27:33.880990030 +0200
+@@ -75,6 +75,7 @@
+             for Switches ("Ada") use ("-O2", "-gnatn", "-gnatwaCJ");
+             for Switches ("C") use ("-O2", "-Wunreachable-code") & Split(Python_CFLAGS, " ");
+       end case;
++      for Driver ("C") use External ("GCC", "gcc");
+    end Compiler;
     package Binder is