Skip to content

Commit

Permalink
[Driver] Try to fix linux-ld.c test with DEFAULT_LINKER set (NFC)
Browse files Browse the repository at this point in the history
The test fails on the clang-ppc64le-rhel build bot, which has
DEFAULT_LINKER set and an ld.lld binary in the LLVM build directory.
  • Loading branch information
nikic committed May 23, 2023
1 parent 4a1236e commit 28776d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/test/Driver/linux-ld.c
Original file line number Diff line number Diff line change
Expand Up @@ -1791,7 +1791,7 @@
// CHECK-LD-GENTOO-X32: "-lc"
// CHECK-LD-GENTOO-X32: "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed"

// RUN: %clang -### %s -no-pie 2>&1 \
// RUN: %clang -### %s -no-pie -fuse-ld=ld 2>&1 \
// RUN: --target=x86_64-unknown-linux-gnu \
// RUN: --gcc-toolchain="%S/Inputs/rhel_7_tree/opt/rh/devtoolset-7/root/usr" \
// RUN: --sysroot="%S/Inputs/rhel_7_tree/opt/rh/devtoolset-7/root" \
Expand Down

0 comments on commit 28776d5

Please sign in to comment.