diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2015-07-05 18:49:14 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-07-06 17:50:57 +0200 |
commit | a865c6bd598de45bd81484c7b9dfb0fbd96d7a9d (patch) | |
tree | 9d12f6f495043ea415ffeaa8400837c21642770a | |
parent | 07f484e13c7c52027a789f56c9c42862480094a9 (diff) | |
download | buildroot-a865c6bd598de45bd81484c7b9dfb0fbd96d7a9d.tar.gz buildroot-a865c6bd598de45bd81484c7b9dfb0fbd96d7a9d.zip |
package/vlc: Fix SSE support with gcc5
Compile fails
make[4]: Entering directory `/home/fli4l/br6_freeswitch/output/build/vlc-2.2.1/modules'
CC video_chroma/libi420_yuy2_sse2_plugin_la-i420_yuy2.lo
In file included from video_chroma/i420_yuy2.c:35:0:
video_chroma/i420_yuy2.c: In function 'I420_UYVY_Filter':
video_chroma/i420_yuy2.c:194:23: error: calling 'I420_UYVY.isra.2' with SSE caling convention without SSE/SSE2 enabled
VIDEO_FILTER_WRAPPER( I420_UYVY )
^
../include/vlc_filter.h:266:13: note: in definition of macro 'VIDEO_FILTER_WRAPPER'
name( p_filter, p_pic, p_outpic ); \
using this defconfig
BR2_x86_pentium2=y
BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
BR2_GCC_VERSION_5_1_X=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_VLC=y
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | package/vlc/vlc.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk index a553648dd6..e40863548c 100644 --- a/package/vlc/vlc.mk +++ b/package/vlc/vlc.mk @@ -66,6 +66,12 @@ else VLC_CONF_OPTS += --disable-altivec endif +ifeq ($(BR2_X86_CPU_HAS_SSE),y) +VLC_CONF_OPTS += --enable-sse +else +VLC_CONF_OPTS += --disable-sse +endif + ifeq ($(BR2_PACKAGE_ALSA_LIB),y) VLC_CONF_OPTS += --enable-alsa VLC_DEPENDENCIES += alsa-lib |