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 | |
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')
-rw-r--r-- | contrib/libdvdnav/module.defs | 6 | ||||
-rw-r--r-- | contrib/libdvdread/module.defs | 8 |
2 files changed, 14 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; diff --git a/contrib/libdvdread/module.defs b/contrib/libdvdread/module.defs index acd6717c7..59967c037 100644 --- a/contrib/libdvdread/module.defs +++ b/contrib/libdvdread/module.defs @@ -4,5 +4,13 @@ $(eval $(call import.CONTRIB.defs,LIBDVDREAD)) LIBDVDREAD.FETCH.url = http://download.handbrake.fr/handbrake/contrib/libdvdread-svn1168.tar.gz LIBDVDREAD.EXTRACT.tarbase = libdvdread +ifeq (max,$(GCC.g)) +ifeq (none,$(GCC.O)) + LIBDVDREAD.CONFIGURE.env.CFLAGS = CFLAGS="-g -O0" +else + LIBDVDREAD.CONFIGURE.env.CFLAGS = CFLAGS="-g" +endif +endif + LIBDVDREAD.CONFIGURE.extra = --enable-local-dlfcn LIBDVDREAD.CONFIGURE.bootstrap = rm -fr aclocal.m4 autom4te.cache; autoreconf -fiv; |