Commit 89f54035 by Bernd Schmidt Committed by Thomas Schwinge

Help the offload gcc driver find the right assembler

	gcc/
	* gcc.c (process_command): Use spec_machine rather than
	spec_host_machine to build tooldir_prefix2.

From-SVN: r228429
parent 113020dc
2015-10-02 Bernd Schmidt <bernds@codesourcery.com>
* gcc.c (process_command): Use spec_machine rather than
spec_host_machine to build tooldir_prefix2.
2015-10-02 Thomas Schwinge <thomas@codesourcery.com> 2015-10-02 Thomas Schwinge <thomas@codesourcery.com>
Bernd Schmidt <bernds@codesourcery.com> Bernd Schmidt <bernds@codesourcery.com>
...@@ -4472,7 +4472,7 @@ process_command (unsigned int decoded_options_count, ...@@ -4472,7 +4472,7 @@ process_command (unsigned int decoded_options_count,
} }
gcc_assert (!IS_ABSOLUTE_PATH (tooldir_base_prefix)); gcc_assert (!IS_ABSOLUTE_PATH (tooldir_base_prefix));
tooldir_prefix2 = concat (tooldir_base_prefix, spec_host_machine, tooldir_prefix2 = concat (tooldir_base_prefix, spec_machine,
dir_separator_str, NULL); dir_separator_str, NULL);
/* Look for tools relative to the location from which the driver is /* Look for tools relative to the location from which the driver is
......
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