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:37 +0300
committerJoshua Ashton <joshua@froggi.es>2021-03-27 15:33:37 +0300
commitdd2823287af54a9317a7926605c9d4da6dfe06d8 (patch)
treebde0e9839c0bc8833e52d90fce2a58aac0f6b248 /meson.build
parentf8c7e29d6fdd06073be25bffca60464ce0e9cf06 (diff)
build: Enable -mfpmath=sse
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 067829b9..978fdf21 100644
--- a/meson.build
+++ b/meson.build
@@ -74,6 +74,9 @@ if cpu_family == 'x86'
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
+ if dxvk_compiler.has_argument('-mfpmath=sse')
+ add_project_arguments('-mfpmath=sse', language: ['c', 'cpp'])
+ endif
endif
lib_vulkan = dxvk_compiler.find_library('vulkan-1', dirs : dxvk_library_path)