[OpenEmbedded] Explicitly specify -rtlib in tests
authorPetr Hosek <phosek@chromium.org>
Wed, 1 Aug 2018 03:30:06 +0000 (03:30 +0000)
committerPetr Hosek <phosek@chromium.org>
Wed, 1 Aug 2018 03:30:06 +0000 (03:30 +0000)
commit78c20a8563941d853151fd660f3f3d78e25e6413
treeac76d6f863d038f9c4b8bb20ddc28498805ce6df
parent2ce191e22019203a62f3c589a4f32161c2d76eea
[OpenEmbedded] Explicitly specify -rtlib in tests

Tests added in r338294 implicitly assume that libgcc is the runtime library,
but that's not the case when the user configures Clang to use compiler-rt in
which case these tests will break. Explicitly request libgcc when invoking
clang in these tests to avoid that.

Differential Revision: https://reviews.llvm.org/D50123

llvm-svn: 338482
clang/test/Driver/linux-ld.c