libsoup3: update to 3.6.0; fix GTK2/3 app startup
[oi-userland.git] / components / developer / gcc-12 / patches / 0022-Use-GNU-backends-for-gcc-ar-nm-ranlib.patch
blob91fe5403558322facd74dc2656da8f98dc7f70e4
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}
6 ---
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
12 --- a/gcc/gcc-ar.cc
13 +++ b/gcc/gcc-ar.cc
14 @@ -190,12 +190,12 @@ main (int ac, char **av)
15 #endif
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);
20 if (!exe_name)
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);
27 #endif
28 exe_name = find_a_file (&path, real_exe_name, X_OK);
29 if (!exe_name)