diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2016-04-28 10:20:18 -0300 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-05-05 22:56:35 +0200 |
commit | da433d66afd0b40101a9b44fbffff410b4d5a91e (patch) | |
tree | 628dc92f5dcd462df2bd3fd8339af1cfd42f6404 /package/mpv | |
parent | 0074622162cc4d53a60f296ba68e79cd9dd460ec (diff) |
mpv: jack/sdl/sdl2 require 64-bit sync intrinsics
Fixes:
http://autobuild.buildroot.net/results/578/578beb2f3b34fc83109e79d8db7de7219dd8340e/
http://autobuild.buildroot.net/results/21c/21ce67041792d29082f5bba76299da19dd1856eb/
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/mpv')
-rw-r--r-- | package/mpv/mpv.mk | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/package/mpv/mpv.mk b/package/mpv/mpv.mk index 3c6e3922b..cd8c31bd8 100644 --- a/package/mpv/mpv.mk +++ b/package/mpv/mpv.mk @@ -52,7 +52,8 @@ MPV_CONF_OPTS += --disable-gbm endif # jack support -ifeq ($(BR2_PACKAGE_JACK2),y) +# It also requires 64-bit sync intrinsics +ifeq ($(BR2_TOOLCHAIN_HAS_SYNC_8)$(BR2_PACKAGE_JACK2),yy) MPV_CONF_OPTS += --enable-jack MPV_DEPENDENCIES += jack2 else @@ -166,10 +167,11 @@ endif # SDL support # Both can't be used at the same time, prefer newer API -ifeq ($(BR2_PACKAGE_SDL2),y) +# It also requires 64-bit sync intrinsics +ifeq ($(BR2_TOOLCHAIN_HAS_SYNC_8)$(BR2_PACKAGE_SDL2),yy) MPV_CONF_OPTS += --enable-sdl2 --disable-sdl1 MPV_DEPENDENCIES += sdl2 -else ifeq ($(BR2_PACKAGE_SDL),y) +else ifeq ($(BR2_TOOLCHAIN_HAS_SYNC_8)$(BR2_PACKAGE_SDL),yy) MPV_CONF_OPTS += --enable-sdl1 --disable-sdl2 MPV_DEPENDENCIES += sdl else |