diff options
author | jstebbins <[email protected]> | 2011-07-11 15:45:12 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2011-07-11 15:45:12 +0000 |
commit | 25b0a0d0048d811b511417cd394c0bddfde98750 (patch) | |
tree | 9b918540921e78b8655894c1bd044e0f50df715d /contrib/libdvdnav | |
parent | 5cade70aad41cdf2a311a316dee1738c0dd6b0dc (diff) |
contrib: dvdread and dvdnav, allow disabling optimizations with debug disabled
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4100 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'contrib/libdvdnav')
-rw-r--r-- | contrib/libdvdnav/module.defs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/libdvdnav/module.defs b/contrib/libdvdnav/module.defs index 0f955f992..98c26b6b5 100644 --- a/contrib/libdvdnav/module.defs +++ b/contrib/libdvdnav/module.defs @@ -5,7 +5,11 @@ LIBDVDNAV.FETCH.url = http://download.handbrake.fr/handbrake/contrib/libdvdnav-s LIBDVDNAV.EXTRACT.tarbase = libdvdnav ifneq (max,$(GCC.g)) +ifeq (none,$(GCC.O)) + LIBDVDNAV.CONFIGURE.env.CFLAGS = CFLAGS="-DNDEBUG -O0" +else LIBDVDNAV.CONFIGURE.env.CFLAGS = CFLAGS="-DNDEBUG" +endif else ifeq (none,$(GCC.O)) LIBDVDNAV.CONFIGURE.env.CFLAGS = CFLAGS="-g -O0" |