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 c1f017a0..9d2b9ecf 100644
--- a/vkd3d-proton/build-win32.txt
+++ b/vkd3d-proton/build-win32.txt
@@ -6,10 +6,10 @@ strip = 'i686-w64-mingw32-strip'
widl = 'i686-w64-mingw32-widl'
[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 8a241178..976c282f 100644
--- a/vkd3d-proton/build-win64.txt
+++ b/vkd3d-proton/build-win64.txt
@@ -6,8 +6,10 @@ strip = 'x86_64-w64-mingw32-strip'
widl = 'x86_64-w64-mingw32-widl'
[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]
|