aboutsummaryrefslogtreecommitdiff
path: root/driver.c
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-03-23 20:41:43 -0700
committerMichael Forney <mforney@mforney.org>2020-03-23 20:41:43 -0700
commitea8f0ebd571931c37aadeab0c2c57b271dee0e41 (patch)
tree649065ff0e49c38a12c79686663547d232028184 /driver.c
parentcaa4368d89116077fe94191e6e3ee67b6a8b092b (diff)
driver: Handle -isystem
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver.c b/driver.c
index 86b3df3..bcdfccd 100644
--- a/driver.c
+++ b/driver.c
@@ -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);