(process_command): Ignore LIBRARY_PATH and LPATH if cross-compiler.

From-SVN: r8396
This commit is contained in:
Richard Kenner 1994-11-07 11:02:15 -05:00
parent 9c05a5ad82
commit 9200adce70

View File

@ -2409,7 +2409,7 @@ process_command (argc, argv)
}
temp = getenv ("LIBRARY_PATH");
if (temp)
if (temp && ! cross_compile)
{
char *startp, *endp;
char *nstore = (char *) alloca (strlen (temp) + 3);
@ -2441,7 +2441,7 @@ process_command (argc, argv)
/* Use LPATH like LIBRARY_PATH (for the CMU build program). */
temp = getenv ("LPATH");
if (temp)
if (temp && ! cross_compile)
{
char *startp, *endp;
char *nstore = (char *) alloca (strlen (temp) + 3);