diff options
Diffstat (limited to 'contrib/ffmpeg')
-rw-r--r-- | contrib/ffmpeg/module.defs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/contrib/ffmpeg/module.defs b/contrib/ffmpeg/module.defs index eb66a4607..90cbd5c75 100644 --- a/contrib/ffmpeg/module.defs +++ b/contrib/ffmpeg/module.defs @@ -48,15 +48,21 @@ else FFMPEG.CONFIGURE.extra += --enable-pthreads endif -ifneq (max,$(GCC.g)) +ifneq (max,$(FFMPEG.GCC.g)) FFMPEG.CONFIGURE.extra += --disable-debug else FFMPEG.CONFIGURE.extra += --enable-debug endif -ifeq (none,$(GCC.O)) +ifeq (none,$(FFMPEG.GCC.O)) +# +# gcc on darwin i386 fails to find enough registers when +# optimizations are disabled +# +ifneq (darwin-i386,$(BUILD.system)-$(BUILD.machine)) FFMPEG.CONFIGURE.extra += --disable-optimizations endif +endif # # MPC8 Doesn't compile on SPARC |