diff options
author | Michal Gorny <mgorny@gentoo.org> | 2019-03-06 14:03:18 +0000 |
---|---|---|
committer | Michal Gorny <mgorny@gentoo.org> | 2019-03-06 14:03:18 +0000 |
commit | a2cc148f9fee10ff749a101975a23703e5460d0b (patch) | |
tree | b3dbee830d16a9ea4ef9dcb18871b8db4bf684e7 /lldb/lit/BuildScript | |
parent | f2eb8caa3fbb4338c061782d9b414fcadd8f9e40 (diff) | |
download | bcm5719-llvm-a2cc148f9fee10ff749a101975a23703e5460d0b.tar.gz bcm5719-llvm-a2cc148f9fee10ff749a101975a23703e5460d0b.zip |
[lldb] [test] Pass appropriate -L&-Wl,-rpath for libc++ on NetBSD
Pass appropriate -L and -Wl,-rpath flags pointing out to the LLVM
library directory on NetBSD. This is necessary since clang on NetBSD
requires libc++ but it is not installed as part of the system
by default. For the purpose of running buildbot, we want LLDB to use
just-built libc++.
Differential Revision: https://reviews.llvm.org/D58630
llvm-svn: 355502
Diffstat (limited to 'lldb/lit/BuildScript')
-rw-r--r-- | lldb/lit/BuildScript/toolchain-clang.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/lit/BuildScript/toolchain-clang.test b/lldb/lit/BuildScript/toolchain-clang.test index 416dc30f6c9..ce5a56a2d9f 100644 --- a/lldb/lit/BuildScript/toolchain-clang.test +++ b/lldb/lit/BuildScript/toolchain-clang.test @@ -10,5 +10,5 @@ CHECK: compiling foobar.c -> foo.exe-foobar.o CHECK-32: {{.*}}clang++{{(.exe)?}} -m32 -g -O0 -c -o {{.*}}foo.exe-foobar.o {{.*}}foobar.c CHECK-64: {{.*}}clang++{{(.exe)?}} -m64 -g -O0 -c -o {{.*}}foo.exe-foobar.o {{.*}}foobar.c CHECK: linking foo.exe-foobar.o -> foo.exe -CHECK-32: {{.*}}clang++{{(.exe)?}} -m32 -o {{.*}}foo.exe {{.*}}foo.exe-foobar.o -CHECK-64: {{.*}}clang++{{(.exe)?}} -m64 -o {{.*}}foo.exe {{.*}}foo.exe-foobar.o +CHECK-32: {{.*}}clang++{{(.exe)?}} -m32 {{(-L.*)? (-Wl,-rpath,.*)?}} -o {{.*}}foo.exe {{.*}}foo.exe-foobar.o +CHECK-64: {{.*}}clang++{{(.exe)?}} -m64 {{(-L.*)? (-Wl,-rpath,.*)?}} -o {{.*}}foo.exe {{.*}}foo.exe-foobar.o |