From 8a33824d16ac40895b89707be527cb5c7e9eaa73 Mon Sep 17 00:00:00 2001 From: kan Date: Thu, 13 Nov 2003 22:40:05 +0000 Subject: 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 --- contrib/gcc/gcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib') 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", -- cgit v1.1