mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
freerdp3: fix i686
This commit is contained in:
parent
b5d8482696
commit
ea746fd151
2 changed files with 13 additions and 2 deletions
11
srcpkgs/freerdp3/patches/fix-i686.patch
Normal file
11
srcpkgs/freerdp3/patches/fix-i686.patch
Normal 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" )
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'freerdp3'
|
# Template file for 'freerdp3'
|
||||||
pkgname=freerdp3
|
pkgname=freerdp3
|
||||||
version=3.6.3
|
version=3.6.3
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
build_helper=qemu
|
build_helper=qemu
|
||||||
configure_args="-DCHANNEL_URBDRC_CLIENT=ON -DDOCBOOKXSL_DIR=/usr/share/xsl/docbook
|
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
|
fi
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
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" ;;
|
arm*) configure_args+=" -DUSE_UNWIND=OFF -DWITH_NEON=OFF" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue