diff options
author | Michael Forney <mforney@mforney.org> | 2020-03-23 20:41:43 -0700 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2020-03-23 20:41:43 -0700 |
commit | ea8f0ebd571931c37aadeab0c2c57b271dee0e41 (patch) | |
tree | 649065ff0e49c38a12c79686663547d232028184 /driver.c | |
parent | caa4368d89116077fe94191e6e3ee67b6a8b092b (diff) |
driver: Handle -isystem
Diffstat (limited to 'driver.c')
-rw-r--r-- | driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -427,7 +427,7 @@ main(int argc, char *argv[]) arrayaddptr(&stages[LINK].cmd, arg); } else if (strcmp(arg, "-emit-qbe") == 0) { last = COMPILE; - } else if (strcmp(arg, "-include") == 0 || strcmp(arg, "-idirafter") == 0) { + } else if (strcmp(arg, "-include") == 0 || strcmp(arg, "-idirafter") == 0 || strcmp(arg, "-isystem") == 0) { if (!--argc) usage(NULL); arrayaddptr(&stages[PREPROCESS].cmd, arg); |