diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2014-03-07 07:43:52 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2014-03-07 07:43:52 +0000 |
commit | fec65ff9a65e73091d9f8117e6a072b79a6b8363 (patch) | |
tree | 7372dbcb705035b97d08d8102d0a92599451edf2 /test/OpenMP/linking.c | |
parent | f29af09ec12b20d25033805dde98c7331b3f66cc (diff) | |
download | clang-fec65ff9a65e73091d9f8117e6a072b79a6b8363.tar.gz clang-fec65ff9a65e73091d9f8117e6a072b79a6b8363.tar.bz2 clang-fec65ff9a65e73091d9f8117e6a072b79a6b8363.tar.xz |
[OPENMP] Fixed linked libraries for libiomp5 on Linux
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203212 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/OpenMP/linking.c')
-rw-r--r-- | test/OpenMP/linking.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/OpenMP/linking.c b/test/OpenMP/linking.c index 586e4606d1..979ba1f4e4 100644 --- a/test/OpenMP/linking.c +++ b/test/OpenMP/linking.c @@ -33,13 +33,15 @@ // RUN: -fopenmp=libiomp5 -target i386-unknown-linux \ // RUN: | FileCheck --check-prefix=CHECK-IOMP5-LD-32 %s // CHECK-IOMP5-LD-32: "{{.*}}ld{{(.exe)?}}" -// CHECK-IOMP5-LD-32: "-liomp5" +// CHECK-IOMP5-LD-32: "-liomp5" "-lgcc" +// CHECK-IOMP5-LD-32: "-lpthread" "-lc" // // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ // RUN: -fopenmp=libiomp5 -target x86_64-unknown-linux \ // RUN: | FileCheck --check-prefix=CHECK-IOMP5-LD-64 %s // CHECK-IOMP5-LD-64: "{{.*}}ld{{(.exe)?}}" -// CHECK-IOMP5-LD-64: "-liomp5" +// CHECK-IOMP5-LD-64: "-liomp5" "-lgcc" +// CHECK-IOMP5-LD-64: "-lpthread" "-lc" // // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \ // RUN: -fopenmp=lib -target i386-unknown-linux \ |