summarylogtreecommitdiffstats
path: root/vkd3d-proton-extraopts.patch
diff options
context:
space:
mode:
authorStelios Tsampas2021-09-23 02:27:00 +0300
committerStelios Tsampas2021-09-23 02:27:00 +0300
commitaec0c12746c36e9423b464b9681eabfaa9acd445 (patch)
tree496bed786cb89b932856d72705c2540ee016827a /vkd3d-proton-extraopts.patch
downloadaur-aec0c12746c36e9423b464b9681eabfaa9acd445.tar.gz
Initial commit
Diffstat (limited to 'vkd3d-proton-extraopts.patch')
-rw-r--r--vkd3d-proton-extraopts.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/vkd3d-proton-extraopts.patch b/vkd3d-proton-extraopts.patch
new file mode 100644
index 000000000000..d2eebde5bc1f
--- /dev/null
+++ b/vkd3d-proton-extraopts.patch
@@ -0,0 +1,36 @@
+diff --git a/build-win32.txt b/build-win32.txt
+index c1f017a0..8fd09003 100644
+--- a/build-win32.txt
++++ b/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..e3f619eb 100644
+--- a/build-win64.txt
++++ b/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]