https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123373

--- Comment #3 from suzuki toshiya <[email protected]> ---
Considering that "%M" does not set arg_going
(and would be concatenated to the following token),
the designed usage of "%R" is "-isysroot %R/",
not "-isysroot %R"?

If so, I hope the default SYSROOT_SPEC in gcc.cc
is updated to "-sysroot %R/" to indicate its
designed usage.

#ifndef SYSROOT_SPEC
# define SYSROOT_SPEC "--sysroot=%R"
#endif

Reply via email to