build: add -Wwrite-strings warning to default build

Should now build cleanly enough that this becomes useful to monitor
for incorrect interface usage or definitions.

Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
Kevin Shanahan 2012-12-22 15:08:45 +10:30
parent 6d016f3a72
commit d4bf311515

View File

@ -218,7 +218,7 @@ STRIP ?= strip
WINDRES ?= windres
CFLAGS ?=
CFLAGS := $(CFLAGS) -Wall -Wno-trigraphs
CFLAGS := $(CFLAGS) -Wall -Wno-trigraphs -Wwrite-strings
ifeq ($(DEBUG),Y)
CFLAGS += -g