Skip to content

Commit

Permalink
Use GNU backends for gcc-{ar,nm,ranlib}
Browse files Browse the repository at this point in the history
  • Loading branch information
citrus-it authored and alarcher committed Dec 15, 2019
1 parent 1cc3b20 commit 64bcab9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gcc/gcc-ar.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,12 +187,12 @@ main (int ac, char **av)
}

/* Find the wrapped binutils program. */
exe_name = find_a_file (&target_path, PERSONALITY, X_OK);
exe_name = find_a_file (&target_path, "g" PERSONALITY, X_OK);
if (!exe_name)
{
const char *real_exe_name = PERSONALITY;
const char *real_exe_name = "g" PERSONALITY;
#ifdef CROSS_DIRECTORY_STRUCTURE
real_exe_name = concat (target_machine, "-", PERSONALITY, NULL);
real_exe_name = concat (target_machine, "-", "g" PERSONALITY, NULL);
#endif
exe_name = find_a_file (&path, real_exe_name, X_OK);
if (!exe_name)
Expand Down

0 comments on commit 64bcab9

Please sign in to comment.