diff options
Diffstat (limited to 'cross-w64-mingw32.txt')
-rw-r--r-- | cross-w64-mingw32.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cross-w64-mingw32.txt b/cross-w64-mingw32.txt index 7af79e0..80002cf 100644 --- a/cross-w64-mingw32.txt +++ b/cross-w64-mingw32.txt @@ -1,3 +1,8 @@ +# note: msvcrt does not support %zu, see here: +# https://stackoverflow.com/questions/44382862/how-to-printf-a-size-t-without-warning-in-mingw-w64-gcc-7-1/44383330 +# as a workaround, i replaced all instances of %zu with a cast to (int) +# and %d + [binaries] c = '/usr/bin/x86_64-w64-mingw32-gcc' ar = '/usr/bin/x86_64-w64-mingw32-ar' @@ -8,7 +13,7 @@ exe_wrapper = 'wine' [properties] needs_exe_wrapper = true -# c_args = ['-DCROSS=1', '-DSOMETHING=3'] +c_args = ['-mwindows'] # c_link_args = ['-L/usr/local/x86_64-w64-mingw32/lib'] [host_machine] |