Commit 743e3e4c by Eric Botcazou Committed by Eric Botcazou

gnat.exp (local_find_gnatmake): Pass --LINK to gnatlink.

	* lib/gnat.exp (local_find_gnatmake): Pass --LINK to gnatlink.
	Do not pass -B$root after -margs.

From-SVN: r146345
parent ca409efd
2009-04-19 Eric Botcazou <ebotcazou@adacore.com>
* lib/gnat.exp (local_find_gnatmake): Pass --LINK to gnatlink.
Do not pass -B$root after -margs.
2009-04-19 Manuel López-Ibáñez <manu@gcc.gnu.org>
PR c/32061
......
......@@ -255,7 +255,7 @@ proc prune_gnat_output { text } {
proc local_find_gnatmake {} {
global tool_root_dir
if ![is_remote host] {
set file [lookfor_file $tool_root_dir gnatmake]
if { $file == "" } {
......@@ -263,7 +263,7 @@ proc local_find_gnatmake {} {
}
if { $file != "" } {
set root [file dirname $file]
set CC "$file --GCC=$root/xgcc --GNATBIND=$root/gnatbind --GNATLINK=$root/gnatlink -cargs -B$root -largs -B$root -margs -B$root";
set CC "$file --GCC=$root/xgcc --GNATBIND=$root/gnatbind --GNATLINK=$root/gnatlink -cargs -B$root -largs --LINK=$root/xgcc -B$root -margs";
} else {
set CC [transform gnatmake]
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment