summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorBradley Sepos <[email protected]>2016-07-05 14:38:35 -0400
committerBradley Sepos <[email protected]>2016-07-05 14:40:44 -0400
commit8b567c79de9ed0711e630359a3a5237a70646190 (patch)
tree1657fc347fd8b8dc5a2c4a005c1dafc1e9249eb0 /contrib
parentb1a4f0dfc2b08590a1a58652287bf052f25ad238 (diff)
contrib: Disable vpx threading on mingw.
VP9 has problems with newer pthreads-win32. No easy way to disable threading for VP9 only.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/libvpx/module.defs12
1 files changed, 6 insertions, 6 deletions
diff --git a/contrib/libvpx/module.defs b/contrib/libvpx/module.defs
index 761385795..2ec67b209 100644
--- a/contrib/libvpx/module.defs
+++ b/contrib/libvpx/module.defs
@@ -20,12 +20,12 @@ LIBVPX.CONFIGURE.extra = \
ifeq (1,$(BUILD.cross))
LIBVPX.CONFIGURE.env.CROSS = CROSS="$(BUILD.spec)-"
LIBVPX.CONFIGURE.args.build =
-endif
-
-ifeq (1-i686,$(BUILD.cross)-$(BUILD.machine))
- LIBVPX.CONFIGURE.extra += --target=x86-win32-gcc
-else ifeq (1-x86_64,$(BUILD.cross)-$(BUILD.machine))
- LIBVPX.CONFIGURE.extra += --target=x86_64-win64-gcc
+ LIBVPX.CONFIGURE.extra += --disable-multithread
+ ifeq (i686,$(BUILD.machine))
+ LIBVPX.CONFIGURE.extra += --target=x86-win32-gcc
+ else ifeq (x86_64,$(BUILD.machine))
+ LIBVPX.CONFIGURE.extra += --target=x86_64-win64-gcc
+ endif
endif
ifeq (1,$(FEATURE.local_yasm))