projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2486d0d
)
(process_command, case 'B'): If name is "stageN/", add "include" to
author
Richard Kenner
<kenner@gcc.gnu.org>
Wed, 30 Mar 1994 22:21:05 +0000
(17:21 -0500)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Wed, 30 Mar 1994 22:21:05 +0000
(17:21 -0500)
system include prefix.
From-SVN: r6924
gcc/gcc.c
patch
|
blob
|
history
diff --git
a/gcc/gcc.c
b/gcc/gcc.c
index 74e00146012fd832dc20861a8ab0a9bc70d21012..4aa6de47c429e4906c4b88dad3bc9cb5d07d3298 100644
(file)
--- a/
gcc/gcc.c
+++ b/
gcc/gcc.c
@@
-2431,6
+2431,13
@@
process_command (argc, argv)
add_prefix (&startfile_prefix, value, 1, 0, temp);
add_prefix (&include_prefix, concat (value, "include", ""),
1, 0, 0);
+
+ /* As a kludge, if the arg is "stageN/", just add
+ "include" to the include prefix. */
+ if (strlen (value) == 7 && value[6] == '/'
+ && strncmp (value, "stage", 5) == 0
+ && isdigit (value[5]))
+ add_prefix (&include_prefix, "include", 1, 0, 0);
}
break;