diff options
author | James Ross-Gowan <rossymiles@gmail.com> | 2016-11-17 22:46:18 +1100 |
---|---|---|
committer | James Ross-Gowan <rossymiles@gmail.com> | 2016-11-17 23:34:20 +1100 |
commit | 40b626fd9b58e2975cff8dec202848a7bce41a9f (patch) | |
tree | 313b8ed8ca4b57da414a434ab24eb505b4468615 /wscript | |
parent | a3c27786c6aeac55942a805281f45a1571d899f4 (diff) | |
download | mpv-40b626fd9b58e2975cff8dec202848a7bce41a9f.tar.bz2 mpv-40b626fd9b58e2975cff8dec202848a7bce41a9f.tar.xz |
build: fix compilation with mingw-w64/Clang
This fixes the build in mingw-w64/Clang on MSYS2. It also disables the
use of gnu_printf in Clang, which was what was causing most of the
warnings. The Clang-compiled mpv binary appears to work, but there are
no guarantees yet, since until now mpv has only been tested with
mingw-w64/GCC on Windows.
Fixes #3800
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -119,7 +119,7 @@ main_dependencies = [ 'name': 'mingw', 'desc': 'MinGW', 'deps': [ 'os-win32' ], - 'func': check_statement('stddef.h', 'int x = __MINGW32__;' + 'func': check_statement('stdlib.h', 'int x = __MINGW32__;' 'int y = __MINGW64_VERSION_MAJOR'), }, { 'name': 'posix', |