diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-06-15 10:49:20 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-06-15 13:13:06 +0530 |
commit | abf81aab7769adbe853d47984cc77d90d578574d (patch) | |
tree | be1b559cbed184523069e3ef333544808ff3e974 /mesonbuild/scripts/gtkdochelper.py | |
parent | 777c1e9c199fe641c5b9b3111d558f1cc9770288 (diff) | |
download | meson-abf81aab7769adbe853d47984cc77d90d578574d.zip meson-abf81aab7769adbe853d47984cc77d90d578574d.tar.gz meson-abf81aab7769adbe853d47984cc77d90d578574d.tar.bz2 |
Use cross-info c_args, c_link_args, etc for all compiler checks
This allows the user to specify custom arguments to the compiler to be used
while performing cross-compiler checks. For example, passing a GCC specs file as
c_link_args so that a "prefix" filled with libraries that are to be compiled
against can be found with cc.find_library, or an `-mcpu` c_arg that is required
for compilation.
Also ensure that unix_link_flags_to_native() and unix_compile_flags_to_native()
always return a copy of the original arguments and not a reference to the
original arguments. We never want to modify the original arguments.
Diffstat (limited to 'mesonbuild/scripts/gtkdochelper.py')
0 files changed, 0 insertions, 0 deletions