summaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authortschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>2015-10-02 21:24:50 +0000
committertschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>2015-10-02 21:24:50 +0000
commitf2fd5997e0856128c0609cdc6aa4cf9867f94c41 (patch)
tree7839c380596b377be421475be0a154399e17f9e0 /gcc/gcc.c
parent689db5ed20ee0ae1ca351fd6066c72c60aa43805 (diff)
downloadgcc-f2fd5997e0856128c0609cdc6aa4cf9867f94c41.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@228429 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index db90796d048..7f5a36e69e5 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -4472,7 +4472,7 @@ process_command (unsigned int decoded_options_count,
}
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);
/* Look for tools relative to the location from which the driver is