Andrew Geissler | 748a483 | 2020-07-24 16:24:21 -0500 | [diff] [blame^] | 1 | Index: git/framework/delibs/dethread/CMakeLists.txt |
| 2 | =================================================================== |
| 3 | --- git.orig/framework/delibs/dethread/CMakeLists.txt |
| 4 | +++ git/framework/delibs/dethread/CMakeLists.txt |
| 5 | @@ -39,6 +39,7 @@ include_directories( |
| 6 | |
| 7 | if (DE_OS_IS_UNIX) |
| 8 | add_definitions(-D_GNU_SOURCE) |
| 9 | + add_definitions(-D_XOPEN_SOURCE=600) |
| 10 | set(DETHREAD_LIBS ${DETHREAD_LIBS} pthread) |
| 11 | endif () |
| 12 | |
| 13 | Index: git/framework/qphelper/CMakeLists.txt |
| 14 | =================================================================== |
| 15 | --- git.orig/framework/qphelper/CMakeLists.txt |
| 16 | +++ git/framework/qphelper/CMakeLists.txt |
| 17 | @@ -28,6 +28,7 @@ set(QPHELPER_LIBS |
| 18 | if (DE_OS_IS_UNIX OR DE_OS_IS_QNX) |
| 19 | # For vsnprintf() |
| 20 | add_definitions(-D_XOPEN_SOURCE=600) |
| 21 | + set(QPHELPER_LIBS ${QPHELPER_LIBS} execinfo) |
| 22 | endif () |
| 23 | |
| 24 | if (DE_OS_IS_WIN32 AND DE_COMPILER_IS_MSC) |