From b3c45776b387ebdb4d61b9f24bb03c5c967c1629 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Thu, 11 Mar 2010 18:33:57 +0000 Subject: disable asserts in libdvdnav except when configured with --debug=max dvdnav asserts on things are are almost never fatal. so lets not crash on them. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3159 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- contrib/libdvdnav/module.defs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'contrib/libdvdnav') 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) -- cgit v1.2.3