1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-18 04:54:15 +01:00

build: Enable SSE3 and SSSE3 for x86

This commit is contained in:
Joshua Ashton 2021-03-27 12:33:05 +00:00
parent d17f62902d
commit f8c7e29d6f
No known key found for this signature in database
GPG Key ID: C85A08669126BE8D

View File

@ -71,9 +71,8 @@ if cpu_family == 'x86'
if dxvk_compiler.has_link_argument('-Wl,--enable-stdcall-fixup')
add_global_link_arguments('-Wl,--enable-stdcall-fixup', language: 'cpp')
endif
if dxvk_compiler.has_argument('-msse') and dxvk_compiler.has_argument('-msse2')
add_project_arguments('-msse', '-msse2', language: 'c')
add_project_arguments('-msse', '-msse2', language: 'cpp')
if dxvk_compiler.has_argument('-msse') and dxvk_compiler.has_argument('-msse2') and dxvk_compiler.has_argument('-msse3') and dxvk_compiler.has_argument('-mssse3')
add_project_arguments('-msse', '-msse2', '-msse3', '-mssse3', language: ['c', 'cpp'])
endif
endif