summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2011-07-11 15:09:21 +0000
committerjstebbins <[email protected]>2011-07-11 15:09:21 +0000
commita98fe961eaa65a0aeb9a8e358890d746c700b26a (patch)
treebc303ac4737a3df20bd22e9249c43ec2ec81d257 /contrib
parentbbc5fc771465006d7978039c623bb2de43c83fab (diff)
contrib: enable ffmpeg debug when debug=max is set
and disable ffmpeg optimizations if optimize=none is set git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4098 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ffmpeg/module.defs10
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/ffmpeg/module.defs b/contrib/ffmpeg/module.defs
index 8572bae2f..eb66a4607 100644
--- a/contrib/ffmpeg/module.defs
+++ b/contrib/ffmpeg/module.defs
@@ -48,6 +48,16 @@ else
FFMPEG.CONFIGURE.extra += --enable-pthreads
endif
+ifneq (max,$(GCC.g))
+ FFMPEG.CONFIGURE.extra += --disable-debug
+else
+ FFMPEG.CONFIGURE.extra += --enable-debug
+endif
+
+ifeq (none,$(GCC.O))
+ FFMPEG.CONFIGURE.extra += --disable-optimizations
+endif
+
#
# MPC8 Doesn't compile on SPARC
#