freerdp3: fix i686

This commit is contained in:
Andrew Benson 2024-07-09 11:07:46 -05:00
parent b5d8482696
commit ea746fd151
2 changed files with 13 additions and 2 deletions

View File

@ -0,0 +1,11 @@
--- a/libfreerdp/codec/CMakeLists.txt
+++ b/libfreerdp/codec/CMakeLists.txt
@@ -64,7 +64,7 @@
if(WITH_SSE2)
- if (HAVE_SSE_OR_AVC)
+ if (HAVE_SSE_OR_AVX)
if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_CLANG)
if (CODEC_SSE2_SRCS)
set_source_files_properties(${CODEC_SSE2_SRCS} PROPERTIES COMPILE_FLAGS "-msse2" )

View File

@ -1,7 +1,7 @@
# Template file for 'freerdp3'
pkgname=freerdp3
version=3.6.3
revision=1
revision=2
build_style=cmake
build_helper=qemu
configure_args="-DCHANNEL_URBDRC_CLIENT=ON -DDOCBOOKXSL_DIR=/usr/share/xsl/docbook
@ -51,7 +51,7 @@ if [ "$build_option_webview" -a -z "$build_option_sdl2" ]; then
fi
case "$XBPS_TARGET_MACHINE" in
x86_64*) configure_args+=" -DWITH_SSE2=ON" ;;
i686*|x86_64*) configure_args+=" -DWITH_SSE2=ON" ;;
arm*) configure_args+=" -DUSE_UNWIND=OFF -DWITH_NEON=OFF" ;;
esac