[cfe-commits] PATCH: Adds support for --sysroot flag

Rafael EspĂ­ndola rafael.espindola at gmail.com
Tue Oct 19 12:12:13 PDT 2010


On 18 October 2010 20:45, Chandler Carruth <chandlerc at google.com> wrote:
> This patch adds support for the --sysroot flag. It does so by passing the
> -isysroot down to Clang's CC1. The existing logic already passed the flag to
> the linker, which may or may not reject in on some systems.
> Any concerns about this implementation strategy?

The comment looks correct, but aren't you adding a -isysroot to the
cc1 invocation even if we have an explicit -isysroot?

Cheers,
Rafael



More information about the cfe-commits mailing list