]> git.ozlabs.org Git - ccan/blobdiff - Makefile-ccan
opt: neaten tests with helpers.
[ccan] / Makefile-ccan
index 22f1bbe5d7016637f844e5aab69a3eb196e91d30..3efe59a5da2fdbee4c602797c2a3f4a08288b893 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 -DCCAN_STR_DEBUG=1
-CFLAGS = $(CCAN_CFLAGS) -I. $(DEPGEN) -Werror
+CCAN_CFLAGS=-g -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