From 57ec9907bc397710e1fd352ae087ca723c429d5f Mon Sep 17 00:00:00 2001 From: Alexander Kabaev Date: Thu, 13 Nov 2003 22:40:05 +0000 Subject: [PATCH] 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(-) diff --git a/contrib/gcc/gcc.c b/contrib/gcc/gcc.c index 6da5837bb28..17cb1efa60b 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",