summaryrefslogtreecommitdiff
path: root/test/OpenMP/linking.c
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2014-03-07 07:43:52 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2014-03-07 07:43:52 +0000
commitfec65ff9a65e73091d9f8117e6a072b79a6b8363 (patch)
tree7372dbcb705035b97d08d8102d0a92599451edf2 /test/OpenMP/linking.c
parentf29af09ec12b20d25033805dde98c7331b3f66cc (diff)
downloadclang-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.c6
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 \