diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1994-03-30 17:21:05 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1994-03-30 17:21:05 -0500 |
commit | 6b0639bc6c077b981c0f6106f3e35b53560af29a (patch) | |
tree | 50c58469bc18c3c1d131b53c6d710772b95b2cdb | |
parent | 2486d0db1dd854c86f8be64297b04afe969edd59 (diff) | |
download | gcc-6b0639bc6c077b981c0f6106f3e35b53560af29a.zip gcc-6b0639bc6c077b981c0f6106f3e35b53560af29a.tar.gz gcc-6b0639bc6c077b981c0f6106f3e35b53560af29a.tar.bz2 |
(process_command, case 'B'): If name is "stageN/", add "include" to
system include prefix.
From-SVN: r6924
-rw-r--r-- | gcc/gcc.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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; |