This repository has been archived on 2024-09-25. You can view files and clone it, but cannot push or open issues or pull requests.
overlay/app-emulation/dxvk/files/flags.patch
tastytea 6d47d1dd51
All checks were successful
continuous-integration/drone/push Build is passing
app-emulation/dxvk: Updated live ebuild.
Apply *FLAGS, make it possible to deselect versions of D3D, more comments.
2020-03-21 15:35:21 +01:00

35 lines
1.4 KiB
Diff

diff --git a/build-wine32.txt b/build-wine32.txt
index 9f13dbd..a56f2fa 100644
--- a/build-wine32.txt
+++ b/build-wine32.txt
@@ -7,9 +7,9 @@ strip = 'strip'
[properties]
needs_exe_wrapper = true
-c_args=['-m32', '-msse', '-msse2', '-fvisibility=hidden']
-cpp_args=['-m32', '-msse', '-msse2', '-fvisibility=hidden', '-fvisibility-inlines-hidden', '-D__WIDL_objidl_generated_name_0000000C=']
-cpp_link_args=['-m32', '-mwindows']
+c_args= @CFLAGS@ + ['-m32', '-msse', '-msse2', '-fvisibility=hidden']
+cpp_args= @CXXFLAGS@ + ['-m32', '-msse', '-msse2', '-fvisibility=hidden', '-fvisibility-inlines-hidden', '-D__WIDL_objidl_generated_name_0000000C=']
+cpp_link_args= @LDFLAGS@ + ['-m32', '-mwindows']
[host_machine]
system = 'linux'
diff --git a/build-wine64.txt b/build-wine64.txt
index fd7be2f..8228a5b 100644
--- a/build-wine64.txt
+++ b/build-wine64.txt
@@ -7,9 +7,9 @@ strip = 'strip'
[properties]
needs_exe_wrapper = true
-c_args=['-m64', '-fvisibility=hidden']
-cpp_args=['-m64', '-fvisibility=hidden', '-fvisibility-inlines-hidden', '-D__WIDL_objidl_generated_name_0000000C=']
-cpp_link_args=['-m64', '-mwindows']
+c_args= @CFLAGS@ + ['-m64', '-fvisibility=hidden']
+cpp_args= @CXXFLAGS@ + ['-m64', '-fvisibility=hidden', '-fvisibility-inlines-hidden', '-D__WIDL_objidl_generated_name_0000000C=']
+cpp_link_args= @LDFLAGS@ + ['-m64', '-mwindows']
[host_machine]
system = 'linux'