Skip to content

Commit

Permalink
Add #define to determine if myth was compiled in debug or profiling mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jyavenard committed Jul 16, 2013
1 parent 72533b1 commit 7d086aa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mythtv/configure
Expand Up @@ -1815,6 +1815,8 @@ MYTHTV_CONFIG_LIST='
x11
xrandr
xv
profiletype
debugtype
'

MYTHTV_HAVE_LIST='
Expand Down Expand Up @@ -4391,9 +4393,11 @@ if test x$compile_type = x"profile" ; then
add_cxxflags -DNDEBUG
enable debug
disable stripping
enable profiletype
elif test x$compile_type = x"debug"; then
enable debug
disable optimizations stripping
enable debugtype
fi

enabled silent_cc && append CCONFIG "silent"
Expand Down

0 comments on commit 7d086aa

Please sign in to comment.