mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-18 11:52:12 +01:00
[meta] Move SSE/SSE2 enablement out of cross files
Fixes Proton build, which uses an outdated Meson version. Signed-off-by: Philip Rebohle <philip.rebohle@tu-dortmund.de>
This commit is contained in:
parent
f337ad3c05
commit
7d673063f5
@ -5,8 +5,6 @@ ar = 'i686-w64-mingw32-ar'
|
||||
strip = 'i686-w64-mingw32-strip'
|
||||
|
||||
[built-in options]
|
||||
c_args=['-msse', '-msse2']
|
||||
cpp_args=['-msse', '-msse2']
|
||||
c_link_args = ['-static', '-static-libgcc']
|
||||
cpp_link_args = ['-static', '-static-libgcc', '-static-libstdc++']
|
||||
|
||||
|
@ -55,6 +55,10 @@ 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')
|
||||
endif
|
||||
endif
|
||||
|
||||
lib_vulkan = dxvk_compiler.find_library('vulkan-1', dirs : dxvk_library_path)
|
||||
|
Loading…
x
Reference in New Issue
Block a user