From 86ba877a990196d978993e34fc3e9d448764d521 Mon Sep 17 00:00:00 2001 From: Jesse Rosenstock Date: Tue, 23 Jun 2020 21:25:23 +0200 Subject: [PATCH] Define REFCC and REFCC_UNSIGNED_CHARS in reference switch2.c uses these macros. With them unset, signed chars are not tested. --- test/ref/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ref/Makefile b/test/ref/Makefile index 5f0b86164..5da21bb92 100644 --- a/test/ref/Makefile +++ b/test/ref/Makefile @@ -54,7 +54,7 @@ $(WORKDIR): $(WORKDIR)/%.ref: %.c | $(WORKDIR) $(if $(QUIET),echo ref/$*.host) - $(CC) $(CFLAGS) -o $(WORKDIR)/$*.host $< $(NULLERR) + $(CC) $(CFLAGS) -DREFCC -DREFCC_UNSIGNED_CHARS -o $(WORKDIR)/$*.host $< $(NULLERR) $(WORKDIR)$S$*.host > $@ $(DIFF): ../bdiff.c | $(WORKDIR)