silence some warnings

This commit is contained in:
Quentin Carbonneaux 2023-03-15 22:07:18 +01:00
parent 498af259eb
commit 6f45894c7f
4 changed files with 8 additions and 4 deletions

View file

@ -13,7 +13,8 @@ OBJ = $(COMMOBJ) $(AMD64OBJ) $(ARM64OBJ) $(RV64OBJ)
SRCALL = $(OBJ:.o=.c)
CFLAGS = $(CPPFLAGS) -Wall -Wextra -std=c99 -g -Wpedantic
CFLAGS = $(CPPFLAGS) -std=c99 -g \
-Wall -Wextra -Wpedantic -Wno-format-truncation
qbe: $(OBJ)
$(CC) $(LDFLAGS) $(OBJ) -o $@