aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-10-01 02:39:57 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-10-01 02:39:57 +0000
commit130e5efd29a52a7cbd17c7b4a4744a320ee29692 (patch)
tree5ea63e841f58a15f2bf8dcadcf4170823f0be0bf
parent9f569cca2a4c5fb6026005434e27025b9e71309d (diff)
As I suspected, completely non-multilib machines just get no suffix.
Make the suffixes optional everywhere, and just make sure they have the right value. The suffixes aren't the interesting part of this test anyways. Sorry for the churn as I let the bots try out various patterns. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140927 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Driver/linux-ld.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/Driver/linux-ld.c b/test/Driver/linux-ld.c
index b1a0d6880b..bdf699ae1b 100644
--- a/test/Driver/linux-ld.c
+++ b/test/Driver/linux-ld.c
@@ -2,10 +2,8 @@
//
// 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
-// 32-bit machines may use 'lib' or 'lib32' dependending on how they setup multilib.
// CHECK-LD-32: "{{.*}}ld{{(.exe)?}}" {{.*}} "-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{{(.exe)?}}" {{.*}} "-L/lib/../lib64" "-L/usr/lib/../lib64"
+// CHECK-LD-64: "{{.*}}ld{{(.exe)?}}" {{.*}} "-L/lib/../lib{{(64)?}}" "-L/usr/lib/../lib{{(64)?}}"