summaryrefslogtreecommitdiffstats
path: root/contrib/libdvdread
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2011-07-11 15:45:12 +0000
committerjstebbins <[email protected]>2011-07-11 15:45:12 +0000
commit25b0a0d0048d811b511417cd394c0bddfde98750 (patch)
tree9b918540921e78b8655894c1bd044e0f50df715d /contrib/libdvdread
parent5cade70aad41cdf2a311a316dee1738c0dd6b0dc (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/libdvdread')
-rw-r--r--contrib/libdvdread/module.defs4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/libdvdread/module.defs b/contrib/libdvdread/module.defs
index 59967c037..bbf7e1dc9 100644
--- a/contrib/libdvdread/module.defs
+++ b/contrib/libdvdread/module.defs
@@ -10,6 +10,10 @@ ifeq (none,$(GCC.O))
else
LIBDVDREAD.CONFIGURE.env.CFLAGS = CFLAGS="-g"
endif
+else
+ifeq (none,$(GCC.O))
+ LIBDVDREAD.CONFIGURE.env.CFLAGS = CFLAGS="-O0"
+endif
endif
LIBDVDREAD.CONFIGURE.extra = --enable-local-dlfcn