Makefile: don't define -Werror for ccanlint.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 27 Apr 2011 07:05:07 +0000 (16:35 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 27 Apr 2011 07:05:07 +0000 (16:35 +0930)
It's useful for developers, but not so much for casual users.  For example,
RHEL 5.6 has qsort_r, but no prototype, which causes a warning.

Makefile-ccan

index ba83f4ae6ca45b02e574015f0251d207bd909c17..3efe59a5da2fdbee4c602797c2a3f4a08288b893 100644 (file)
@@ -4,7 +4,7 @@
 
 #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 -Wpointer-arith -Wwrite-strings -DCCAN_STR_DEBUG=1
-CFLAGS = $(CCAN_CFLAGS) -I. $(DEPGEN) -Werror
+CFLAGS = $(CCAN_CFLAGS) -I. $(DEPGEN)
 
 
 default: libccan.a