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" ;;