From 33073e51a940248817fc33948d84e5492902a473 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Wed, 27 Aug 2008 16:13:25 +0000 Subject: add --enable-dev-mode support, and fix up a couple of warnings found using it (only two, surprisingly) git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4845 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index fbc1d61..2dc7456 100644 --- a/Makefile +++ b/Makefile @@ -38,6 +38,10 @@ ifneq (,$(findstring x86_64,$(UNAME_M))) CFLAGS+=-m64 endif +ifeq ($(DAHDI_DEVMODE),yes) + CFLAGS+=-Werror -Wunused -Wundef $(DAHDI_DECLARATION_AFTER_STATEMENT) -Wmissing-format-attribute -Wformat-security #-Wformat=2 +endif + ROOT_PREFIX= # extra cflags to build dependencies. Recursively expanded. -- cgit v1.2.3