ports/devel/gps/files/patch-gnatlib-gnat_src-mlib-utl.adb
Frederic Culot fe6b01bc3f - Update to 5.0.1
PR:		ports/161442
Submitted by:	John Marino <draco@marino.st> (maintainer)
Feature safe:	yes
2011-11-15 13:35:48 +00:00

11 lines
497 B
Ada

--- gnatlib/gnat_src/mlib-utl.adb.orig 2010-02-14 02:40:00.000000000 +0100
+++ gnatlib/gnat_src/mlib-utl.adb 2011-10-09 04:11:21.000000000 +0200
@@ -412,7 +412,7 @@
if Driver_Name = No_Name then
if Gcc_Exec = null then
if Gcc_Name = null then
- Gcc_Name := Osint.Program_Name ("gcc", "gnatmake");
+ Gcc_Name := Osint.Program_Name ("gnatgcc", "gnatmake");
end if;
Gcc_Exec := Locate_Exec_On_Path (Gcc_Name.all);