diff options
author | Pierre Riteau <priteau@gmail.com> | 2010-05-25 13:56:18 +0200 |
---|---|---|
committer | Pierre Riteau <priteau@gmail.com> | 2010-05-25 14:02:14 +0200 |
commit | 4693a51707fa5c29853d7df110b424df08114f38 (patch) | |
tree | 97bc1be307a46a0e72b3080855d652ab76b502f7 /Makefile | |
parent | bd4ec5705906642268d93561985f216f07dc2ba7 (diff) |
Constify the API and enable -Wwrite-strings
The API is more similar to printf now.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |