aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/asm.py
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2023-01-09 11:15:42 +0100
committerEli Schwartz <eschwartz93@gmail.com>2023-01-11 15:58:16 -0500
commitcf23e341878286790885352fd1d6548be5798391 (patch)
tree34a7fe0711180a015a1327c0d082990bd61cd075 /mesonbuild/compilers/asm.py
parente96929f1b267c40d27bcd81c61663229dbc3c3f1 (diff)
downloadmeson-cf23e341878286790885352fd1d6548be5798391.zip
meson-cf23e341878286790885352fd1d6548be5798391.tar.gz
meson-cf23e341878286790885352fd1d6548be5798391.tar.bz2
cross: move multilib options to [binaries] section
c_args are meant to be overridden by the user if needed (even via the environment CFLAGS variables + -Doptimization=plain, for example), so they should not contain any option that affect the multilib search path. For example, a hypothetical native file like this: [binaries] c = gcc [built-in options] c_args = ['-m32'] would *not* build 32-bit binaries if -Dc_args is passed to meson. Such options, instead should be in the [binaries] section. Adjust the sample cross files included with meson. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'mesonbuild/compilers/asm.py')
0 files changed, 0 insertions, 0 deletions