Index: wasm/Config.h =================================================================== --- wasm/Config.h +++ wasm/Config.h @@ -36,7 +36,6 @@ uint32_t ZStackSize; llvm::StringRef Entry; llvm::StringRef OutputFile; - llvm::StringRef Sysroot; llvm::StringSet<> AllowUndefinedSymbols; std::vector SearchPaths; Index: wasm/Driver.cpp =================================================================== --- wasm/Driver.cpp +++ wasm/Driver.cpp @@ -254,7 +254,6 @@ Config->SearchPaths = args::getStrings(Args, OPT_L); Config->StripAll = Args.hasArg(OPT_strip_all); Config->StripDebug = Args.hasArg(OPT_strip_debug); - Config->Sysroot = Args.getLastArgValue(OPT_sysroot); errorHandler().Verbose = Args.hasArg(OPT_verbose); ThreadsEnabled = Args.hasFlag(OPT_threads, OPT_no_threads, true);