diff options
author | jstebbins <[email protected]> | 2011-07-11 15:01:15 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2011-07-11 15:01:15 +0000 |
commit | bbc5fc771465006d7978039c623bb2de43c83fab (patch) | |
tree | 179a76e4c6dabe1044d0c56a3f5bc55dcf8055aa /contrib/libdvdnav | |
parent | 1488babf5c8fd9564cad05e3374d8ed70e432390 (diff) |
contrib: enable dvdread and dvdnav debugging when debug=max is configured
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4097 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'contrib/libdvdnav')
-rw-r--r-- | contrib/libdvdnav/module.defs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/libdvdnav/module.defs b/contrib/libdvdnav/module.defs index 2cee7ad17..0f955f992 100644 --- a/contrib/libdvdnav/module.defs +++ b/contrib/libdvdnav/module.defs @@ -6,6 +6,12 @@ LIBDVDNAV.EXTRACT.tarbase = libdvdnav ifneq (max,$(GCC.g)) LIBDVDNAV.CONFIGURE.env.CFLAGS = CFLAGS="-DNDEBUG" +else +ifeq (none,$(GCC.O)) + LIBDVDNAV.CONFIGURE.env.CFLAGS = CFLAGS="-g -O0" +else + LIBDVDNAV.CONFIGURE.env.CFLAGS = CFLAGS="-g" +endif endif LIBDVDNAV.CONFIGURE.bootstrap = rm -fr aclocal.m4 autom4te.cache; autoreconf -fiv; |