mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-10-01 12:04:51 +00:00
- Drop patches which are upstreamed. - Move common patches to files/ dir - Use gcc to compile for now as it does not work with clang+libc++ Signed-off-by: Khem Raj <raj.khem@gmail.com>
23 lines
685 B
Diff
23 lines
685 B
Diff
Upstream-Status: Pending
|
|
|
|
--- a/framework/delibs/dethread/CMakeLists.txt
|
|
+++ b/framework/delibs/dethread/CMakeLists.txt
|
|
@@ -41,6 +41,7 @@ if (DE_OS_IS_UNIX)
|
|
if (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
|
|
add_definitions(-D__BSD_VISIBLE)
|
|
endif ()
|
|
+ add_definitions(-D_XOPEN_SOURCE=600)
|
|
add_definitions(-D_GNU_SOURCE)
|
|
|
|
set(DETHREAD_LIBS ${DETHREAD_LIBS} pthread)
|
|
--- a/framework/qphelper/CMakeLists.txt
|
|
+++ b/framework/qphelper/CMakeLists.txt
|
|
@@ -28,6 +28,7 @@ set(QPHELPER_LIBS
|
|
if (DE_OS_IS_UNIX OR DE_OS_IS_QNX)
|
|
# For vsnprintf()
|
|
add_definitions(-D_XOPEN_SOURCE=600)
|
|
+ set(QPHELPER_LIBS ${QPHELPER_LIBS} execinfo)
|
|
endif ()
|
|
|
|
if (DE_OS_IS_WIN32 AND DE_COMPILER_IS_MSC)
|