Commit 6b0639bc by Richard Kenner

(process_command, case 'B'): If name is "stageN/", add "include" to

system include prefix.

From-SVN: r6924
parent 2486d0db
...@@ -2431,6 +2431,13 @@ process_command (argc, argv) ...@@ -2431,6 +2431,13 @@ process_command (argc, argv)
add_prefix (&startfile_prefix, value, 1, 0, temp); add_prefix (&startfile_prefix, value, 1, 0, temp);
add_prefix (&include_prefix, concat (value, "include", ""), add_prefix (&include_prefix, concat (value, "include", ""),
1, 0, 0); 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; break;
......
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