From 140f4d987af6095b047ff9a39d8301c6fa5cbfe4 Mon Sep 17 00:00:00 2001 From: obrien 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",