From 99e7daef692b8f06774043a7563c5a97c9f021a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sat, 9 Dec 2023 17:21:49 +0700 Subject: [PATCH] dolphin-emu: support for i686 with SSE2 At least, this unstage the i686 builder for now. --- srcpkgs/dolphin-emu/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/dolphin-emu/template b/srcpkgs/dolphin-emu/template index 96edf50d3e4..862d3ae964e 100644 --- a/srcpkgs/dolphin-emu/template +++ b/srcpkgs/dolphin-emu/template @@ -14,7 +14,7 @@ _rcheevos_commit=3af1e2fc5188d6e932ee379942f4049ea877e648 _vma_commit=d9a2e4641ba4808e803ff555be132f280366ab47 _spirv_cross_commit=b8e742c91ba47eb3238c939ee11ec9ba2ba247bf #Version/hash pair can be found at https://dolphin-emu.org/download/ -archs="x86_64* aarch64* ppc64le*" +archs="x86_64* aarch64* ppc64le* i686" create_wrksrc=yes build_style=cmake configure_args="-DUSE_SHARED_ENET=ON @@ -56,6 +56,10 @@ checksum="ef9af8103ec35808a6250b7eadda1a33877719ffb2aad2d65571843e7ae0f69a 6f65717f6b4b4cf1a5f37bcc60708b6a78f6ae316d460107ad57b8b15f7a2b42" nopie=yes +case "$XBPS_TARGET_MACHINE" in + i686*) CFLAGS=-msse2 ;; +esac + case "$XBPS_TARGET_MACHINE" in x86_64*|aarch64*) ;; *) configure_args+=" -DENABLE_GENERIC=ON" ;;