mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
vlc: enable altivec support only when appropriate
All PowerPC CPUs do not support altivec instruction set; so enable its support only when the sub-architecture support it. Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
35667caad8
commit
8c2534c50c
@ -32,6 +32,13 @@ VLC_CONF_OPT += \
|
|||||||
--disable-vsxu \
|
--disable-vsxu \
|
||||||
--disable-mtp
|
--disable-mtp
|
||||||
|
|
||||||
|
# Set powerpc altivec appropriately
|
||||||
|
ifeq ($(BR2_powerpc_7400)$(BR2_powerpc_7450)$(BR2_powerpc_970),y)
|
||||||
|
VCL_CONF_OPT += --enable-altivec
|
||||||
|
else
|
||||||
|
VLC_CONF_OPT += --disable-altivec
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
|
ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
|
||||||
VLC_CONF_OPT += --enable-alsa
|
VLC_CONF_OPT += --enable-alsa
|
||||||
VLC_DEPENDENCIES += alsa-lib
|
VLC_DEPENDENCIES += alsa-lib
|
||||||
|
Loading…
x
Reference in New Issue
Block a user