mirror of
https://github.com/opnsense/src.git
synced 2026-06-13 18:50:31 -04:00
Allow for better control over the GCC front-end when building a cross
compiler. * Undo the diking out of cross compiler logic from gcc.c rev 1.16. * Add the `CROSS_STARTFILE_PREFIX' knob. * Add our own definition of `STANDARD_INCLUDE_DIR'. This should have been included in freebsd-native.h rev 1.5.
This commit is contained in:
parent
3174c81c9c
commit
fcd0ff585f
1 changed files with 5 additions and 1 deletions
|
|
@ -3268,7 +3268,7 @@ process_command (argc, argv)
|
|||
}
|
||||
|
||||
GET_ENV_PATH_LIST (temp, LIBRARY_PATH_ENV);
|
||||
if (temp)
|
||||
if (temp && *cross_compile == '0')
|
||||
{
|
||||
const char *startp, *endp;
|
||||
char *nstore = (char *) alloca (strlen (temp) + 3);
|
||||
|
|
@ -6067,6 +6067,10 @@ main (argc, argv)
|
|||
concat (gcc_exec_prefix, machine_suffix,
|
||||
standard_startfile_prefix, NULL),
|
||||
"BINUTILS", PREFIX_PRIORITY_LAST, 0, NULL);
|
||||
#ifdef CROSS_STARTFILE_PREFIX
|
||||
add_prefix (&startfile_prefixes, CROSS_STARTFILE_PREFIX, "BINUTILS",
|
||||
0, 0, NULL_PTR);
|
||||
#endif
|
||||
}
|
||||
|
||||
/* Process any user specified specs in the order given on the command
|
||||
|
|
|
|||
Loading…
Reference in a new issue