From c241d3630c18337671db0094cc477f9cf6f87de2 Mon Sep 17 00:00:00 2001 From: Daniel O'Connor Date: Sun, 29 Jul 2012 14:55:10 +0930 Subject: [PATCH] Move debug options to Makefile.dbg so we don't have to re-run configure. Remove DO_TIMING_CHECK since it's no longer used --- Makefile.dbg | 3 +++ Makefile.in | 4 +--- 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 Makefile.dbg diff --git a/Makefile.dbg b/Makefile.dbg new file mode 100644 index 00000000..eb30d0a3 --- /dev/null +++ b/Makefile.dbg @@ -0,0 +1,3 @@ +#CFLAGS+=-Wunreachable-code +#CFLAGS+=-O0 +#CFLAGS+=-DUSE_ABSTRACT_NAMESPACE diff --git a/Makefile.in b/Makefile.in index 3b688425..320d53b4 100644 --- a/Makefile.in +++ b/Makefile.in @@ -93,9 +93,7 @@ LDFLAGS=@LDFLAGS@ @PORTAUDIO_LIBS@ @SRC_LIBS@ @SPANDSP_LIBS@ @CODEC2_LIBS@ @PTHR CFLAGS= @CPPFLAGS@ @CFLAGS@ @PORTAUDIO_CFLAGS@ @SRC_CFLAGS@ @SPANDSP_CFLAGS@ @PTHREAD_CFLAGS@ $(VOIPTEST_CFLAGS) CFLAGS+=-Wall -Wno-unused-value -#CFLAGS+=-Wunreachable-code -#CFLAGS+=-O0 -CFLAGS+=-DDO_TIMING_CHECKS +-include Makefile.dbg DEFS= @DEFS@