diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2008-08-27 16:13:25 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2008-08-27 16:13:25 +0000 |
commit | 33073e51a940248817fc33948d84e5492902a473 (patch) | |
tree | 4305ccfaa1ac66f96ec059228802047196964b78 /Makefile | |
parent | 99463754103be48aedfa9bcc83a57a62729cfc17 (diff) |
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
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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. |