X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=Makefile;h=875e99f2146616ce41abb8bcdb6813ebdb50a53f;hb=9e800830de8a9bbb9f103f120ea7de9220b6869d;hp=d53e89f4d1ca9556e64187e4d3a1a63272b64c74;hpb=d98e77e56cc401eeb75744d6fa40a92a1e6e1f94;p=ccan diff --git a/Makefile b/Makefile index d53e89f4..875e99f2 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ all:: # Our flags for building WARN_CFLAGS := -Wall -Wstrict-prototypes -Wold-style-definition -Wundef \ - -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wwrite-strings + -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wwrite-strings -Wshadow=local DEP_CFLAGS = -MMD -MP -MF$(@:%=%.d) -MT$@ CCAN_CFLAGS := -g3 -ggdb $(WARN_CFLAGS) -DCCAN_STR_DEBUG=1 -I. $(CFLAGS) CFLAGS_FORCE_C_SOURCE := -x c