cproc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/cproc
Log | Files | Refs | Submodules | README | LICENSE

commit ea8f0ebd571931c37aadeab0c2c57b271dee0e41
parent caa4368d89116077fe94191e6e3ee67b6a8b092b
Author: Michael Forney <mforney@mforney.org>
Date:   Mon, 23 Mar 2020 20:41:43 -0700

driver: Handle -isystem

Diffstat:
Mdriver.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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);