summaryrefslogtreecommitdiffstats
path: root/contrib/libdvdread/module.defs
diff options
context:
space:
mode:
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;