build: use -Wformat-security

This commit is contained in:
Solomon Peachy 2018-09-28 11:06:59 -04:00
parent a971dc5c62
commit a2589389e2

View file

@ -39,7 +39,7 @@ LN ?= ln
RM ?= rm
# Flags
CFLAGS += -Wall -Wextra -g -Og -D_GNU_SOURCE -std=c99 # -Wconversion
CFLAGS += -Wall -Wextra -Wformat-security -g -Og -D_GNU_SOURCE -std=c99 # -Wconversion
LDFLAGS += `pkg-config --libs libusb-1.0`
CPPFLAGS += `pkg-config --cflags libusb-1.0`
# CPPFLAGS += -DLIBUSB_PRE_1_0_10