silence format warning more reliably

This commit is contained in:
Quentin Carbonneaux 2023-03-16 16:22:11 +01:00
parent 6f45894c7f
commit 011dfc839d
6 changed files with 15 additions and 5 deletions

View file

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