port this change from our gcc 4.1 tree. not entirely sure it's correct
yet, but not yet able to test ... revision 1.5 date: 2011/04/10 16:50:18; author: joerg; state: Exp; lines: +2 -2 Reduce difference between src/tools/gcc and src/gnu/usr.bin/gcc4 configuration. All but the target to helper programs should be the same. Mark include directories as sysroot-relative.
This commit is contained in:
parent
65a1c6301f
commit
840a879e5b
5
external/gpl3/gcc/dist/gcc/gcc.c
vendored
5
external/gpl3/gcc/dist/gcc/gcc.c
vendored
@ -7108,15 +7108,18 @@ main (int argc, char **argv)
|
||||
PREFIX_PRIORITY_LAST, 0, 1);
|
||||
else if (*cross_compile == '0')
|
||||
{
|
||||
/* XXXMRG not sure this one is right? */
|
||||
#if !defined(NETBSD_NATIVE) && !defined(NETBSD_TOOLS)
|
||||
add_prefix (&startfile_prefixes,
|
||||
concat (gcc_exec_prefix
|
||||
? gcc_exec_prefix : standard_exec_prefix,
|
||||
machine_suffix,
|
||||
standard_startfile_prefix, NULL),
|
||||
NULL, PREFIX_PRIORITY_LAST, 0, 1);
|
||||
#endif /* NETBSD_NATIVE */
|
||||
}
|
||||
|
||||
#ifndef NETBSD_NATIVE
|
||||
#if !defined(NETBSD_NATIVE) && !defined(NETBSD_TOOLS)
|
||||
/* Sysrooted prefixes are relocated because target_system_root is
|
||||
also relocated by gcc_exec_prefix. */
|
||||
if (*standard_startfile_prefix_1)
|
||||
|
Loading…
Reference in New Issue
Block a user