From ea8f0ebd571931c37aadeab0c2c57b271dee0e41 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Mon, 23 Mar 2020 20:41:43 -0700 Subject: driver: Handle -isystem --- driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3