From a84e77fb7bfe7e1e3adfe1355dec48d488cdd54b Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Sun, 3 Mar 2002 04:18:00 +0000 Subject: [PATCH] Allow one to specify a STANDARD_EXEC_PREFIX for GCC (but not BINUTILS) bits. --- contrib/gcc/gcc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib/gcc/gcc.c b/contrib/gcc/gcc.c index 5aff87af7166..feadd5d3bbe8 100644 --- a/contrib/gcc/gcc.c +++ b/contrib/gcc/gcc.c @@ -3847,16 +3847,18 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n" fatal ("object format unknown"); } #endif /* FREEBSD_NATIVE */ -#ifndef FREEBSD_NATIVE #ifndef OS2 add_prefix (&exec_prefixes, standard_exec_prefix, "GCC", PREFIX_PRIORITY_LAST, 1, warn_std_ptr); +#ifndef FREEBSD_NATIVE add_prefix (&exec_prefixes, standard_exec_prefix, "BINUTILS", PREFIX_PRIORITY_LAST, 2, warn_std_ptr); add_prefix (&exec_prefixes, standard_exec_prefix_1, "BINUTILS", PREFIX_PRIORITY_LAST, 2, warn_std_ptr); +#endif /* not FREEBSD_NATIVE */ #endif +#ifndef FREEBSD_NATIVE add_prefix (&startfile_prefixes, standard_exec_prefix, "BINUTILS", PREFIX_PRIORITY_LAST, 1, warn_std_ptr); add_prefix (&startfile_prefixes, standard_exec_prefix_1, "BINUTILS",