diff options
-rw-r--r-- | Makefile-ccan | 2 | ||||
-rw-r--r-- | config.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile-ccan b/Makefile-ccan index 22f1bbe5..ba83f4ae 100644 --- a/Makefile-ccan +++ b/Makefile-ccan @@ -3,7 +3,7 @@ # 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 +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 @@ -3,7 +3,7 @@ #define CCAN_CONFIG_H #define _GNU_SOURCE /* Always use GNU extensions. */ #define CCAN_COMPILER "cc" -#define CCAN_CFLAGS "-g -Wall -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -DCCAN_STR_DEBUG=1" +#define CCAN_CFLAGS "-g -Wall -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wwrite-strings -DCCAN_STR_DEBUG=1" #define HAVE_ALIGNOF 1 #define HAVE_ASPRINTF 1 |