summarylogtreecommitdiffstats
path: root/dxvk-nvapi-extraopts.patch
blob: 75f1e49aa3f73e245b007b63610f2a46c414d786 (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
diff --git a/build-win32.txt b/build-win32.txt
index 7d991cf..debc982 100644
--- a/build-win32.txt
+++ b/build-win32.txt
@@ -4,8 +4,8 @@ strip = 'i686-w64-mingw32-strip'
 ar = 'i686-w64-mingw32-ar'
 
 [built-in options]
-cpp_args=['-msse', '-msse2']
-cpp_link_args = ['-static', '-static-libgcc', '-static-libstdc++']
+cpp_args=['-msse', '-msse2', @CXXARGS@]
+cpp_link_args = ['-static', '-static-libgcc', '-static-libstdc++', @LDARGS@]
 
 [properties]
 needs_exe_wrapper = true
diff --git a/build-win64.txt b/build-win64.txt
index 3b1d99d..6847d89 100644
--- a/build-win64.txt
+++ b/build-win64.txt
@@ -4,7 +4,8 @@ strip = 'x86_64-w64-mingw32-strip'
 ar = 'x86_64-w64-mingw32-ar'
 
 [built-in options]
-cpp_link_args = ['-static', '-static-libgcc', '-static-libstdc++']
+cpp_args=[@CXXARGS@]
+cpp_link_args = ['-static', '-static-libgcc', '-static-libstdc++', @LDARGS@]
 
 [properties]
 needs_exe_wrapper = true