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 | f3a852a24743ef92b66af33a41711fec2981d7dd (patch) | |
tree | 9979a4e865ecb642fe987daaafc1b5b041b24b33 | |
parent | 29bbe2bca6ac73b490885a5a4fa86718de7f7bec (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140915 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Driver/linux-ld.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Driver/linux-ld.c b/test/Driver/linux-ld.c index 4ad676726f..eb3ce557a7 100644 --- a/test/Driver/linux-ld.c +++ b/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" |