Treat all compile warnings as errors

This commit is contained in:
Jeremy Lakeman 2014-05-02 15:44:39 +09:30
parent ec9bc428d4
commit 8e7d13fd27

View File

@ -35,7 +35,7 @@ LDFLAGS=@LDFLAGS@ @LIBS@ @PTHREAD_LIBS@
CFLAGS= -Isqlite-amalgamation-3070900 @CPPFLAGS@ @CFLAGS@ @PTHREAD_CFLAGS@ -Inacl/include
CFLAGS+=-DSYSCONFDIR="\"$(sysconfdir)\"" -DLOCALSTATEDIR="\"$(localstatedir)\""
CFLAGS+=-fPIC
CFLAGS+=-Wall -Wno-unused-value
CFLAGS+=-Wall -Wno-unused-value -Werror
# Solaris magic
CFLAGS+=-DSHA2_USE_INTTYPES_H -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__=1
# OSX magic to compensate for the Solaris magic