projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c05a5a
)
(process_command): Ignore LIBRARY_PATH and LPATH if cross-compiler.
author
Richard Kenner
<kenner@gcc.gnu.org>
Mon, 7 Nov 1994 16:02:15 +0000
(11:02 -0500)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Mon, 7 Nov 1994 16:02:15 +0000
(11:02 -0500)
From-SVN: r8396
gcc/gcc.c
patch
|
blob
|
history
diff --git
a/gcc/gcc.c
b/gcc/gcc.c
index f9ab8f4c964453e023c6fb479ab700adae9bb22d..8de0b0964be6e8ebcb9e3a52fece329911084b60 100644
(file)
--- a/
gcc/gcc.c
+++ b/
gcc/gcc.c
@@
-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);