]> git.ozlabs.org Git - ccan/blobdiff - Makefile-ccan
tal: make sure tal_free() preserves errno.
[ccan] / Makefile-ccan
index f1d76e6c8927ef111ac4f9c24b45eac669e08dd3..bab41388568b4b982e411b2393710d5a960f216c 100644 (file)
@@ -3,8 +3,8 @@
 #      SRCFILES += $(wildcard ccan/*/*.c)
 
 #CCAN_CFLAGS=-g -O3 -Wall -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations
-CCAN_CFLAGS=-g -Wall -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations
-CFLAGS = $(CCAN_CFLAGS) -I. $(DEPGEN) -Werror
+CCAN_CFLAGS=-g3 -ggdb -Wall -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wwrite-strings -DCCAN_STR_DEBUG=1
+CFLAGS = $(CCAN_CFLAGS) -I. $(DEPGEN)
 
 
 default: libccan.a