summaryrefslogtreecommitdiff
path: root/app-emulation/dxvk/files/dxvk-1.8_add-compiler-flags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/dxvk/files/dxvk-1.8_add-compiler-flags.patch')
-rw-r--r--app-emulation/dxvk/files/dxvk-1.8_add-compiler-flags.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/app-emulation/dxvk/files/dxvk-1.8_add-compiler-flags.patch b/app-emulation/dxvk/files/dxvk-1.8_add-compiler-flags.patch
new file mode 100644
index 0000000..bd58737
--- /dev/null
+++ b/app-emulation/dxvk/files/dxvk-1.8_add-compiler-flags.patch
@@ -0,0 +1,44 @@
+From fa1ead4a488b90593c05f5ce634fd3f9e8dd6b81 Mon Sep 17 00:00:00 2001
+From: tastytea <tastytea@tastytea.de>
+Date: Wed, 13 Jan 2021 16:35:34 +0100
+Subject: [PATCH] Add compiler and linker flags.
+
+---
+ build-win32.txt | 5 +++++
+ build-win64.txt | 5 +++++
+ 2 files changed, 10 insertions(+)
+
+diff --git a/build-win32.txt b/build-win32.txt
+index a1406832..c3c9521c 100644
+--- a/build-win32.txt
++++ b/build-win32.txt
+@@ -7,6 +7,11 @@ strip = 'i686-w64-mingw32-strip'
+ [properties]
+ needs_exe_wrapper = true
+
++c_args = @CFLAGS@
++cpp_args = @CXXFLAGS@
++c_link_args = @LDFLAGS@
++cpp_link_args = @LDFLAGS@
++
+ [host_machine]
+ system = 'windows'
+ cpu_family = 'x86'
+diff --git a/build-win64.txt b/build-win64.txt
+index 1aee4626..50960343 100644
+--- a/build-win64.txt
++++ b/build-win64.txt
+@@ -7,6 +7,11 @@ strip = 'x86_64-w64-mingw32-strip'
+ [properties]
+ needs_exe_wrapper = true
+
++c_args = @CFLAGS@
++cpp_args = @CXXFLAGS@
++c_link_args = @LDFLAGS@
++cpp_link_args = @LDFLAGS@
++
+ [host_machine]
+ system = 'windows'
+ cpu_family = 'x86_64'
+--
+2.26.2