hosted: Fix last commit
-Wno-format-truncation may not be understood by all systems
This commit is contained in:
parent
1b49823f64
commit
2a0d608b07
|
@ -8,13 +8,13 @@ CFLAGS +=-I ./target -I./platforms/pc
|
|||
# be useful to minimize external dependencies, and make building on
|
||||
# windows systems easier.
|
||||
HOSTED_BMP_ONLY ?= 0
|
||||
CFLAGS += -DHOSTED_BMP_ONLY=$(HOSTED_BMP_ONLY) -Wno-format-truncation
|
||||
CFLAGS += -DHOSTED_BMP_ONLY=$(HOSTED_BMP_ONLY)
|
||||
|
||||
ifneq (, $(findstring linux, $(SYS)))
|
||||
SRC += serial_unix.c
|
||||
HIDAPILIB = hidapi-libusb
|
||||
ifeq ($(ASAN), 1)
|
||||
CFLAGS += -fsanitize=address
|
||||
CFLAGS += -fsanitize=address -Wno-format-truncation
|
||||
LDFLAGS += -lasan
|
||||
endif
|
||||
else ifneq (, $(findstring mingw, $(SYS)))
|
||||
|
|
Loading…
Reference in New Issue