diff options
Diffstat (limited to 'Make.config.template')
-rw-r--r-- | Make.config.template | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Make.config.template b/Make.config.template index 8768f3b9..82d55617 100644 --- a/Make.config.template +++ b/Make.config.template @@ -6,7 +6,7 @@ # See the main source file 'vdr.c' for copyright information and # how to reach the author. # -# $Id: Make.config.template 3.4 2015/02/09 09:58:45 kls Exp $ +# $Id: Make.config.template 4.1 2017/06/02 09:29:54 kls Exp $ ### The C compiler and options: @@ -16,6 +16,12 @@ CFLAGS = -g -O3 -Wall CXX = g++ CXXFLAGS = -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses +# Use 'make DEBUG=1 ...' to build a debug version of VDR and plugins: +ifdef DEBUG +CFLAGS += -O0 +CXXFLAGS += -O0 +endif + # Use 'make M32=1 ...' to build a 32-bit version of VDR on a 64-bit machine: ifdef M32 CFLAGS += -m32 |