When sysroot isn't explicitly set, try to use the default location which is <driver path>/../<triple>
Details
Details
Diff Detail
Diff Detail
- Repository
- rC Clang
Event Timeline
lib/Driver/ToolChains/Fuchsia.cpp | ||
---|---|---|
152 | The GCC behavior (if --with-sysroot is given to configure) is tooldir/sys-root, not tooldir itself. |
lib/Driver/ToolChains/Fuchsia.cpp | ||
---|---|---|
152 | That's fine with me, although I'm not very fond of the sys-root since it's typically spelled as sysroot everywhere else, but I could be convinced if we want to be consistent with GCC. |
Comment Actions
I'm about to revive this and was pondering if maybe we should generalize this to all targets now that the multiarch runtime bit has landed?
The GCC behavior (if --with-sysroot is given to configure) is tooldir/sys-root, not tooldir itself.