python/hypothesis: update to 6.122.3
[oi-userland.git] / components / developer / gcc-13 / patches / 0021-Use-GNU-backends-for-gcc-ar-nm-ranlib.patch
blob66ea5c40e3a60bee13b882ad0315765f02ecffa1
1 From 6214cebb2c993c8316498d6af8adc06f965995de 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 5e5b63e19889..3674fd20adc3 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)