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 | 648250a2e50c00eb5c56182a7d2f2b41f74ab16e (patch) | |
tree | 732a6d2578c14162fd015266f557ca289154bc6d /clang/test/OpenMP/linking.c | |
parent | 7b58305ff6f0e01f5c5bc75d98eacfb007ef2b88 (diff) | |
download | bcm5719-llvm-648250a2e50c00eb5c56182a7d2f2b41f74ab16e.tar.gz bcm5719-llvm-648250a2e50c00eb5c56182a7d2f2b41f74ab16e.zip |
[OPENMP] Fixed linked libraries for libiomp5 on Linux
llvm-svn: 203212
Diffstat (limited to 'clang/test/OpenMP/linking.c')
-rw-r--r-- | clang/test/OpenMP/linking.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/clang/test/OpenMP/linking.c b/clang/test/OpenMP/linking.c index 586e4606d10..979ba1f4e41 100644 --- a/clang/test/OpenMP/linking.c +++ b/clang/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 \ |