commit | ae9ac2a1bfb6fa800b99791b6fc36711dd0c1fbc | [log] [tgz] |
---|---|---|
author | Tim-Philipp Müller <tim@centricular.com> | Sun Jan 17 12:51:59 2021 +0000 |
committer | Akira TAGOH <akira@tagoh.org> | Mon Feb 15 12:53:32 2021 +0000 |
tree | c0803cbd0a92b539ab3781e296cc89088dc7779d | |
parent | 7bfbaecf819a8b1630dfc8f56126e31f985d5fb3 [diff] |
meson: fix cross-compilation issues with gperf header file preprocessing Pass c_args to the compiler when preprocessing the gperf header file, they might contain important bits without which compilation/preprocessing might fail (e.g. with clang on Android). cc.cmd_array() does not include the c_args and we can't easily look them up from the meson.build file, so we have to retrieve from the introspection info. This is basically the Meson equivalent to commit 57103773.