~mcf/cproc

49ebef5d0092366fd0639c78b61a066646ac218e — Michael Forney a month ago e049bdb
driver: Pass -nostdinc on to preprocessor
1 files changed, 2 insertions(+), 0 deletions(-)

M driver.c
M driver.c => driver.c +2 -0
@@ 426,6 426,8 @@ main(int argc, char *argv[])
		/* TODO: use a binary search for these long parameters */
		if (strcmp(arg, "-nostdlib") == 0) {
			flags.nostdlib = true;
		} else if (strcmp(arg, "-nostdinc") == 0) {
			arrayaddptr(&stages[PREPROCESS].cmd, arg);
		} else if (strcmp(arg, "-static") == 0) {
			arrayaddptr(&stages[LINK].cmd, arg);
		} else if (strcmp(arg, "-emit-qbe") == 0) {