summarylogtreecommitdiffstats
path: root/dxvk-extraopts.patch
blob: 4e77aa6102cecd3eb890a42ee6a40ceebde40bad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
diff --git a/build-win32.txt b/build-win32.txt
index 0865fc5e..b93a280f 100644
--- a/dxvk/build-win32.txt
+++ b/dxvk/build-win32.txt
@@ -5,10 +5,10 @@ ar = 'i686-w64-mingw32-ar'
 strip = 'i686-w64-mingw32-strip'
 
 [properties]
-c_args=['-msse', '-msse2']
-cpp_args=['-msse', '-msse2']
-c_link_args = ['-static', '-static-libgcc']
-cpp_link_args = ['-static', '-static-libgcc', '-static-libstdc++']
+c_args=['-msse', '-msse2', @CARGS@]
+cpp_args=['-msse', '-msse2', @CARGS@]
+c_link_args = ['-static', '-static-libgcc', @LDARGS@]
+cpp_link_args = ['-static', '-static-libgcc', '-static-libstdc++', @LDARGS@]
 needs_exe_wrapper = true
 
 [host_machine]
diff --git a/build-win64.txt b/build-win64.txt
index 2a7fbee3..9e3bfc2e 100644
--- a/dxvk/build-win64.txt
+++ b/dxvk/build-win64.txt
@@ -5,8 +5,10 @@ ar = 'x86_64-w64-mingw32-ar'
 strip = 'x86_64-w64-mingw32-strip'
 
 [properties]
-c_link_args = ['-static', '-static-libgcc']
-cpp_link_args = ['-static', '-static-libgcc', '-static-libstdc++']
+c_args=[@CARGS@]
+cpp_args=[@CARGS@]
+c_link_args = ['-static', '-static-libgcc', @LDARGS@]
+cpp_link_args = ['-static', '-static-libgcc', '-static-libstdc++', @LDARGS@]
 needs_exe_wrapper = true
 
 [host_machine]