aboutsummaryrefslogtreecommitdiff
path: root/contrib/gcc/gcc.c
diff options
context:
space:
mode:
authorAlexander Kabaev <kan@FreeBSD.org>2003-11-13 22:40:05 +0000
committerAlexander Kabaev <kan@FreeBSD.org>2003-11-13 22:40:05 +0000
commit57ec9907bc397710e1fd352ae087ca723c429d5f (patch)
treeee0fadc282e41b2573c401b28a7ab26a72055e10 /contrib/gcc/gcc.c
parent0ad79d2c04a7cedc7492336d0b46516789ed2cd6 (diff)
downloadsrc-57ec9907bc397710e1fd352ae087ca723c429d5f.tar.gz
src-57ec9907bc397710e1fd352ae087ca723c429d5f.zip
Use correct priority parameter value in add_prefix from corresponding
enum instead of passing literal 0. This fixes gcc invocations with GCC_EXEC_PREFIX environment set. Submitted By: Geoff Morrison PR: gnu/53476
Notes
Notes: svn path=/head/; revision=122632
Diffstat (limited to 'contrib/gcc/gcc.c')
-rw-r--r--contrib/gcc/gcc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gcc/gcc.c b/contrib/gcc/gcc.c
index 6da5837bb28c..17cb1efa60b7 100644
--- a/contrib/gcc/gcc.c
+++ b/contrib/gcc/gcc.c
@@ -3671,7 +3671,7 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n"
as well as trying the machine and the version. */
#ifdef FREEBSD_NATIVE
add_prefix (&exec_prefixes, PREFIX"/bin/", "BINUTILS",
- 0, 0, warn_std_ptr, 0);
+ PREFIX_PRIORITY_LAST, 0, warn_std_ptr, 0);
#endif /* FREEBSD_NATIVE */
#ifndef OS2
add_prefix (&exec_prefixes, standard_exec_prefix, "GCC",