rnk added inline comments. ================ Comment at: tools/clang/lib/Driver/Tools.cpp:7845 @@ -7838,2 +7844,3 @@ bool isAndroid = Triple.getEnvironment() == llvm::Triple::Android; + bool isWindows = Triple.getOS() == llvm::Triple::Win32; bool StaticLibgcc = Args.hasArg(options::OPT_static_libgcc) || ---------------- I had to change this to `Triple.isOSCygMing()` to make the existing windows-cross toolchain driver test pass. It expected --as-needed to be passed along.
http://reviews.llvm.org/D11237 _______________________________________________ cfe-commits mailing list cfe-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits