summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPierre Riteau <priteau@gmail.com>2010-05-25 13:56:18 +0200
committerPierre Riteau <priteau@gmail.com>2010-05-25 14:02:14 +0200
commit4693a51707fa5c29853d7df110b424df08114f38 (patch)
tree97bc1be307a46a0e72b3080855d652ab76b502f7 /Makefile
parentbd4ec5705906642268d93561985f216f07dc2ba7 (diff)
Constify the API and enable -Wwrite-strings
The API is more similar to printf now.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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)