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
|
# be useful to minimize external dependencies, and make building on
|
||||||
# windows systems easier.
|
# windows systems easier.
|
||||||
HOSTED_BMP_ONLY ?= 0
|
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)))
|
ifneq (, $(findstring linux, $(SYS)))
|
||||||
SRC += serial_unix.c
|
SRC += serial_unix.c
|
||||||
HIDAPILIB = hidapi-libusb
|
HIDAPILIB = hidapi-libusb
|
||||||
ifeq ($(ASAN), 1)
|
ifeq ($(ASAN), 1)
|
||||||
CFLAGS += -fsanitize=address
|
CFLAGS += -fsanitize=address -Wno-format-truncation
|
||||||
LDFLAGS += -lasan
|
LDFLAGS += -lasan
|
||||||
endif
|
endif
|
||||||
else ifneq (, $(findstring mingw, $(SYS)))
|
else ifneq (, $(findstring mingw, $(SYS)))
|
||||||
|
|
Loading…
Reference in New Issue