File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -296,6 +296,7 @@ void OpenBSD::AddCXXStdlibLibArgs(const ArgList &Args,
296
296
297
297
CmdArgs.push_back (Profiling ? " -lc++_p" : " -lc++" );
298
298
CmdArgs.push_back (Profiling ? " -lc++abi_p" : " -lc++abi" );
299
+ CmdArgs.push_back (Profiling ? " -lpthread_p" : " -lpthread" );
299
300
}
300
301
301
302
std::string OpenBSD::getCompilerRT (const ArgList &Args,
Original file line number Diff line number Diff line change 6
6
// RUN: | FileCheck --check-prefix=CHECK-CXX %s
7
7
// RUN: %clangxx %s -### -o %t.o -target arm-unknown-openbsd 2>&1 \
8
8
// RUN: | FileCheck --check-prefix=CHECK-CXX %s
9
- // CHECK-CXX: "-lc++" "-lc++abi" "-lm"
9
+ // CHECK-CXX: "-lc++" "-lc++abi" "-lpthread" "- lm"
10
10
11
11
// RUN: %clangxx %s -### -pg -o %t.o -target amd64-pc-openbsd 2>&1 \
12
12
// RUN: | FileCheck --check-prefix=CHECK-PG-CXX %s
16
16
// RUN: | FileCheck --check-prefix=CHECK-PG-CXX %s
17
17
// RUN: %clangxx %s -### -pg -o %t.o -target arm-unknown-openbsd 2>&1 \
18
18
// RUN: | FileCheck --check-prefix=CHECK-PG-CXX %s
19
- // CHECK-PG-CXX: "-lc++_p" "-lc++abi_p" "-lm_p"
19
+ // CHECK-PG-CXX: "-lc++_p" "-lc++abi_p" "-lpthread_p" "- lm_p"
You can’t perform that action at this time.
0 commit comments