Commit 9200adce by Richard Kenner

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

From-SVN: r8396
parent 9c05a5ad
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment