aboutsummaryrefslogtreecommitdiff
path: root/fixincludes
diff options
context:
space:
mode:
authorOlivier Hainque <hainque@adacore.com>2021-12-20 17:47:24 +0000
committerOlivier Hainque <hainque@adacore.com>2022-01-04 10:16:01 +0000
commit48e2d9b7b88dabed336cd098cd212d0e53c5125f (patch)
tree9557fbfe20ef51d02a0f14065d15ec6285b4fea6 /fixincludes
parentfbb592407c9dd244b4cea086cbb90d7bd0bf60bb (diff)
downloadgcc-48e2d9b7b88dabed336cd098cd212d0e53c5125f.zip
gcc-48e2d9b7b88dabed336cd098cd212d0e53c5125f.tar.gz
gcc-48e2d9b7b88dabed336cd098cd212d0e53c5125f.tar.bz2
Register --sysroot in the driver switches table
This change adjusts the processing of --sysroot to save the option in the internal "switches" array, which lets self-specs test for it and provide a default value possibly dependent on environment variables, as in --with-specs=%{!-sysroot*:--sysroot=%:getenv("WIND_BASE" /target)} 2021-12-20 Olivier Hainque <hainque@adacore.com> gcc/ * gcc.c (driver_handle_option): do_save --sysroot.
Diffstat (limited to 'fixincludes')
0 files changed, 0 insertions, 0 deletions