[PATCH] D42019: [Driver] Set default sysroot for Fuchsia if none is specified

Roland McGrath via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 12 16:58:57 PST 2018


mcgrathr added inline comments.


================
Comment at: lib/Driver/ToolChains/Fuchsia.cpp:152
+  llvm::sys::path::append(P, normalizeTriple(Triple));
+  return P.str();
+}
----------------
The GCC behavior (if --with-sysroot is given to configure) is tooldir/sys-root, not tooldir itself.


Repository:
  rC Clang

https://reviews.llvm.org/D42019





More information about the cfe-commits mailing list