envconfig: add more binutils variables

follow standard variables and allow distributions to remove some entries from their cross-files

ex:
f23acdd24b/common/build-style/meson.sh (L50-L54)

variables chosen from the variables nixos sets
ea0f14a502/pkgs/build-support/bintools-wrapper/setup-hook.sh (L58)

sorted alphabetically
pull/10636/head
Artturin 3 years ago committed by Eli Schwartz
parent f774609b09
commit 8a8ab9a8e0
  1. 11
      mesonbuild/envconfig.py

@ -112,8 +112,17 @@ ENV_VAR_PROG_MAP: T.Mapping[str, str] = {
'rust_ld': 'RUSTC_LD',
# Binutils
'strip': 'STRIP',
'ar': 'AR',
'as': 'AS',
'ld': 'LD',
'nm': 'NM',
'objcopy': 'OBJCOPY',
'objdump': 'OBJDUMP',
'ranlib': 'RANLIB',
'readelf': 'READELF',
'size': 'SIZE',
'strings': 'STRINGS',
'strip': 'STRIP',
'windres': 'WINDRES',
# Other tools

Loading…
Cancel
Save