diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2011-10-01 01:26:40 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2011-10-01 01:26:40 +0000 |
| commit | 91052b6851aa02e7edbbea563e08c9f7fb400fd7 (patch) | |
| tree | 7cf6862c4a48c3ca4ed5191feea18ab5610fcf47 /clang/test | |
| parent | b49b7b53b1b1f1350b6da0835505985c44af68d7 (diff) | |
| download | bcm5719-llvm-91052b6851aa02e7edbbea563e08c9f7fb400fd7.tar.gz bcm5719-llvm-91052b6851aa02e7edbbea563e08c9f7fb400fd7.zip | |
Allow for both 'lib' and 'lib32', as both seem to be in evidence. I've
left a FIXME to go track down more distros and see if 'lib' is ever the
64-bit half.
This should hopefully appease the build bots.
llvm-svn: 140915
Diffstat (limited to 'clang/test')
| -rw-r--r-- | clang/test/Driver/linux-ld.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/test/Driver/linux-ld.c b/clang/test/Driver/linux-ld.c index 4ad676726f5..eb3ce557a7b 100644 --- a/clang/test/Driver/linux-ld.c +++ b/clang/test/Driver/linux-ld.c @@ -2,8 +2,10 @@ // // RUN: %clang -no-canonical-prefixes -ccc-host-triple i386-unknown-linux %s -### -o %t.o 2>&1 \ // RUN: | FileCheck --check-prefix=CHECK-LD-32 %s -// CHECK-LD-32: "{{.*}}ld" {{.*}} "-L/lib/../lib32" "-L/usr/lib/../lib32" +// 32-bit machines may use 'lib' or 'lib32' dependending on how they setup multilib. +// CHECK-LD-32: "{{.*}}ld" {{.*}} "-L/lib/../lib{{32|}}" "-L/usr/lib/../lib{{32|}}" // // RUN: %clang -no-canonical-prefixes -ccc-host-triple x86_64-unknown-linux %s -### -o %t.o 2>&1 \ // RUN: | FileCheck --check-prefix=CHECK-LD-64 %s +// FIXME: Should we allow 'lib' instead of 'lib64' here? // CHECK-LD-64: "{{.*}}ld" {{.*}} "-L/lib/../lib64" "-L/usr/lib/../lib64" |

