Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/doitsujin/dxvk.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Ashton <joshua@froggi.es>2021-03-27 15:33:05 +0300
committerJoshua Ashton <joshua@froggi.es>2021-03-27 15:33:05 +0300
commitf8c7e29d6fdd06073be25bffca60464ce0e9cf06 (patch)
tree9b20b3df99e88ee899d24e17ce50539ccf7ea419 /meson.build
parentd17f62902df6d41e085fae0632cfe093b4896cb7 (diff)
build: Enable SSE3 and SSSE3 for x86
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build5
1 files changed, 2 insertions, 3 deletions
diff --git a/meson.build b/meson.build
index c2c6b743..067829b9 100644
--- a/meson.build
+++ b/meson.build
@@ -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