summaryrefslogtreecommitdiffstats
path: root/contrib/ffmpeg
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ffmpeg')
-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
#