diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2016-12-14 11:34:56 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2017-01-25 12:37:45 +0000 |
commit | bbcc3b4b81203726add2e11d8cb29728a79bca7b (patch) | |
tree | 2575552a4397a1d902edd25bb44002e2ff3f649c /cross | |
parent | 59318edf6419afb850b7875ffee4d97522449a5a (diff) | |
download | libepoxy-bbcc3b4b81203726add2e11d8cb29728a79bca7b.tar.gz |
build: Add cross-compile definitions for Mingw64 on Fedora
Meson uses plain text files for describing the cross-compilation
environment, binaries, and properties.
The values are taken from the mingw wrapper around configure that
Fedora provides for autotools projects.
Diffstat (limited to 'cross')
-rw-r--r-- | cross/fedora-mingw64.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/cross/fedora-mingw64.txt b/cross/fedora-mingw64.txt new file mode 100644 index 0000000..b776611 --- /dev/null +++ b/cross/fedora-mingw64.txt @@ -0,0 +1,18 @@ +[binaries] +c = '/usr/bin/x86_64-w64-mingw32-gcc' +cpp = '/usr/bin/x86_64-w64-mingw32-cpp' +ar = '/usr/bin/x86_64-w64-mingw32-ar' +strip = '/usr/bin/x86_64-w64-mingw32-strip' +pkgconfig = '/usr/bin/x86_64-w64-mingw32-pkg-config' +exe_wrapper = 'wine' + +[properties] +root = '/usr/x86_64-w64-mingw32/sys-root/mingw' +c_args = [ '-pipe', '-Wp,-D_FORTIFY_SOURCE=2', '-fexceptions', '--param=ssp-buffer-size=4' ] +c_link_args = [ '-L/usr/x86_64-w64-mingw32/sys-root/mingw/lib' ] + +[host_machine] +system = 'windows' +cpu_family = 'x86_64' +cpu = 'x86_64' +endian = 'little' |