summaryrefslogtreecommitdiffstats
path: root/contrib/libdvdnav/module.defs
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libdvdnav/module.defs')
-rw-r--r--contrib/libdvdnav/module.defs4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/libdvdnav/module.defs b/contrib/libdvdnav/module.defs
index 4134146c7..a8f308072 100644
--- a/contrib/libdvdnav/module.defs
+++ b/contrib/libdvdnav/module.defs
@@ -4,6 +4,10 @@ $(eval $(call import.CONTRIB.defs,LIBDVDNAV))
LIBDVDNAV.FETCH.url = http://download.m0k.org/handbrake/contrib/libdvdnav-svn1168.tar.gz
LIBDVDNAV.EXTRACT.tarbase = libdvdnav
+ifneq (max,$(GCC.g))
+ LIBDVDNAV.CONFIGURE.env.CFLAGS = CFLAGS="-DNDEBUG"
+endif
+
LIBDVDNAV.CONFIGURE.bootstrap = rm -fr aclocal.m4 autom4te.cache; autoreconf -fiv;
LIBDVDNAV.CONFIGURE.extra += --with-dvdread-config=$(call fn.ABSOLUTE,$(CONTRIB.build/)bin/dvdread-config)