]> granicus.if.org Git - handbrake/commitdiff
contrib: enable ffmpeg debug when debug=max is set
authorjstebbins <jstebbins.hb@gmail.com>
Mon, 11 Jul 2011 15:09:21 +0000 (15:09 +0000)
committerjstebbins <jstebbins.hb@gmail.com>
Mon, 11 Jul 2011 15:09:21 +0000 (15:09 +0000)
and disable ffmpeg optimizations if optimize=none is set

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4098 b64f7644-9d1e-0410-96f1-a4d463321fa5

contrib/ffmpeg/module.defs

index 8572bae2fee5b333cef6a392f599b524315082ba..eb66a4607aa7fb6814b914de40cc3c36eea70771 100644 (file)
@@ -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
 #