From 6b0639bc6c077b981c0f6106f3e35b53560af29a Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Wed, 30 Mar 1994 17:21:05 -0500 Subject: [PATCH] (process_command, case 'B'): If name is "stageN/", add "include" to system include prefix. From-SVN: r6924 --- gcc/gcc.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gcc/gcc.c b/gcc/gcc.c index 74e00146012..4aa6de47c42 100644 --- 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; -- 2.30.2