Skip to content

Commit 079825b

Browse files
Need ALL_SOURCE macro
1 parent e6b2495 commit 079825b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lldb/tools/driver/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ if(APPLE)
1111
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-sectcreate,__TEXT,__info_plist,${CMAKE_CURRENT_BINARY_DIR}/lldb-Info.plist")
1212
endif()
1313

14+
if (UNIX AND ${CMAKE_SYSTEM_NAME} MATCHES "AIX")
15+
remove_definitions("-D_XOPEN_SOURCE=700")
16+
add_definitions("-D_ALL_SOURCE")
17+
endif()
18+
1419
add_lldb_tool(lldb
1520
Driver.cpp
1621
Platform.cpp

0 commit comments

Comments
 (0)