From 4693a51707fa5c29853d7df110b424df08114f38 Mon Sep 17 00:00:00 2001 From: Pierre Riteau Date: Tue, 25 May 2010 13:56:18 +0200 Subject: Constify the API and enable -Wwrite-strings The API is more similar to printf now. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 815227c..e852c03 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ ifeq ($(uname_S),SunOS) CFLAGS?= -std=c99 -pedantic $(OPTIMIZATION) -Wall -W -D__EXTENSIONS__ -D_XPG6 CCLINK?= -ldl -lnsl -lsocket -lm -lpthread else - CFLAGS?= -std=c99 -pedantic $(OPTIMIZATION) -Wall -W $(ARCH) $(PROF) + CFLAGS?= -std=c99 -pedantic $(OPTIMIZATION) -Wall -W -Wwrite-strings $(ARCH) $(PROF) CCLINK?= -lm -pthread endif CCOPT= $(CFLAGS) $(CCLINK) $(ARCH) $(PROF) -- cgit v1.2.3