summaryrefslogtreecommitdiffstats
path: root/contrib/libdvdread/module.defs
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2011-07-11 15:01:15 +0000
committerjstebbins <[email protected]>2011-07-11 15:01:15 +0000
commitbbc5fc771465006d7978039c623bb2de43c83fab (patch)
tree179a76e4c6dabe1044d0c56a3f5bc55dcf8055aa /contrib/libdvdread/module.defs
parent1488babf5c8fd9564cad05e3374d8ed70e432390 (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/libdvdread/module.defs')
-rw-r--r--contrib/libdvdread/module.defs8
1 files changed, 8 insertions, 0 deletions
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;