blob: 217dcddf35b9f30238496c8092a626d2d7a75285 (
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
|
diff -Naur a/tools/cross-wine32.in b/tools/cross-wine32.in
--- a/tools/cross-wine32.in 2019-01-12 16:45:09.190471883 +0000
+++ b/tools/cross-wine32.in 2019-01-12 16:48:22.569404982 +0000
@@ -5,8 +5,8 @@
pkgconfig = '@PKG_CONFIG@'
[properties]
-c_args = ['-m32', '--no-gnu-unique']
-c_link_args = ['-m32', '-mwindows']
+c_args = @CFLAGS@ + ['-m32', '--no-gnu-unique']
+c_link_args = @LDFLAGS@ + ['-m32', '-mwindows']
needs_exe_wrapper = true
[host_machine]
diff -Naur a/tools/cross-wine64.in b/tools/cross-wine64.in
--- a/tools/cross-wine64.in 2019-01-12 16:45:09.190471883 +0000
+++ b/tools/cross-wine64.in 2019-01-12 16:48:19.865349306 +0000
@@ -5,8 +5,8 @@
pkgconfig = '@PKG_CONFIG@'
[properties]
-c_args = ['-m64', '--no-gnu-unique']
-c_link_args = ['-m64', '-mwindows']
+c_args = @CFLAGS@ + ['-m64', '--no-gnu-unique']
+c_link_args = @LDFLAGS@ + ['-m64', '-mwindows']
needs_exe_wrapper = true
[host_machine]
|