1 From c1d0236cd739046fb5b26c445c95cad062b61509 Mon Sep 17 00:00:00 2001
2 From: Andy Fiddaman <omnios@citrus-it.co.uk>
3 Date: Fri, 19 Jul 2019 11:42:58 +0000
4 Subject: Use GNU backends for gcc-{ar,nm,ranlib}
7 gcc/gcc-ar.cc | 6 +++---
8 1 file changed, 3 insertions(+), 3 deletions(-)
10 diff --git a/gcc/gcc-ar.cc b/gcc/gcc-ar.cc
11 index c693d9a33ae..076f4520de0 100644
14 @@ -190,12 +190,12 @@ main (int ac, char **av)
17 /* Find the wrapped binutils program. */
18 - exe_name = find_a_file (&target_path, PERSONALITY, X_OK);
19 + exe_name = find_a_file (&target_path, "g" PERSONALITY, X_OK);
22 - const char *real_exe_name = PERSONALITY;
23 + const char *real_exe_name = "g" PERSONALITY;
24 #ifdef CROSS_DIRECTORY_STRUCTURE
25 - real_exe_name = concat (target_machine, "-", PERSONALITY, NULL);
26 + real_exe_name = concat (target_machine, "-", "g" PERSONALITY, NULL);
28 exe_name = find_a_file (&path, real_exe_name, X_OK);