Commit b2a54dfb authored by Nirbheek Chauhan's avatar Nirbheek Chauhan 🐜 Committed by Akira TAGOH
Browse files

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 #263
parent d9c99340
......@@ -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'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment