Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 702344 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-2 / +3 lines)
Line  Link Here
0
-- /clang/lib/Driver/ToolChains/CommonArgs.cpp
0
++ /clang/lib/Driver/ToolChains/CommonArgs.cpp
Lines 1256-1262 Link Here
1256
1256
1257
  LibGccType LGT = getLibGccType(D, Args);
1257
  LibGccType LGT = getLibGccType(D, Args);
1258
  bool AsNeeded = LGT == LibGccType::UnspecifiedLibGcc &&
1258
  bool AsNeeded = LGT == LibGccType::UnspecifiedLibGcc &&
1259
                  !TC.getTriple().isAndroid() && !TC.getTriple().isOSCygMing();
1259
                  !TC.getTriple().isAndroid() && !TC.getTriple().isOSCygMing() ||
1260
                  UNW == ToolChain::UNW_CompilerRT;
1260
  if (AsNeeded)
1261
  if (AsNeeded)
1261
    CmdArgs.push_back("--as-needed");
1262
    CmdArgs.push_back("--as-needed");
1262
1263

Return to bug 702344