From 89f54035b876cdde43699daf90208b652b8ac158 Mon Sep 17 00:00:00 2001 From: Bernd Schmidt Date: Fri, 2 Oct 2015 21:24:50 +0000 Subject: 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 --- gcc/gcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/gcc.c') diff --git a/gcc/gcc.c b/gcc/gcc.c index db90796..7f5a36e 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 -- cgit v1.1