Skip to content

Commit 70b4bef

Browse files
committed
Add -pthread to build on AIX
1 parent a01097f commit 70b4bef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1182,6 +1182,7 @@ endif()
11821182
if (UNIX AND ${CMAKE_SYSTEM_NAME} MATCHES "AIX")
11831183
add_compile_definitions(_XOPEN_SOURCE=700)
11841184
add_compile_definitions(_LARGE_FILE_API)
1185+
add_compile_options(-pthread)
11851186

11861187
# Modules should be built with -shared -Wl,-G, so we can use runtime linking
11871188
# with plugins.

0 commit comments

Comments
 (0)