summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2003-11-13 22:40:05 +0000
committerkan <kan@FreeBSD.org>2003-11-13 22:40:05 +0000
commit8a33824d16ac40895b89707be527cb5c7e9eaa73 (patch)
treeee0fadc282e41b2573c401b28a7ab26a72055e10
parent5abdb2071334eed976e44b9ac9dd1276efe9f7e0 (diff)
downloadFreeBSD-src-8a33824d16ac40895b89707be527cb5c7e9eaa73.zip
FreeBSD-src-8a33824d16ac40895b89707be527cb5c7e9eaa73.tar.gz
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
-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 6da5837..17cb1ef 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",
OpenPOWER on IntegriCloud