meson: Fix build failure with gcc10 on mingw

We were explicitly setting c_args and c_link_args to [], which
overrode the values inherited from the env via CFLAGS and LDFLAGS.

Also add a comment for future reference.

Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/263
This commit is contained in:
Nirbheek Chauhan 2020-11-04 17:43:21 +05:30 committed by Akira TAGOH
parent d9c99340b1
commit b2a54dfb8f
1 changed files with 3 additions and 2 deletions

View File

@ -5,8 +5,9 @@ cpu = 'x86_64'
endian = 'little'
[properties]
c_args = []
c_link_args = []
# Will be picked up from env vars if not defined here
#c_args = []
#c_link_args = []
[binaries]
c = 'x86_64-w64-mingw32-gcc'