genode/repos/libports/lib/mk/qt5_core.mk
Emery Hemingway 7a11384177 Merge pthread into libc library
The pthread API is considered a standard feature of libc so better to
simply merge it with the libc. Pthreads are in fact already a part of
the libc in the form of weak symbols. This merger is also a prerequisite
for better integrating pthreads with the libc I/O task.

Fix #3054
2018-11-29 11:46:01 +01:00

35 lines
899 B
Makefile

include $(call select_from_repositories,lib/import/import-qt5_core.mk)
SHARED_LIB = yes
# use default warning level to avoid noise when compiling contrib code
CC_WARN = -Wno-unused-but-set-variable -Wno-deprecated-declarations
include $(REP_DIR)/lib/mk/qt5_core_generated.inc
# add Genode-specific sources
QT_SOURCES += qthread_genode.cpp
# remove unsupported UNIX-specific files
QT_SOURCES_FILTER_OUT = \
forkfd_qt.cpp \
moc_qfilesystemwatcher_inotify_p.cpp \
qfilesystemwatcher_inotify.cpp \
qthread_unix.cpp
# remove unneeded files to prevent moc warnings
COMPILER_MOC_HEADER_MAKE_ALL_FILES_FILTER_OUT = \
moc_qobjectdefs.cpp \
moc_qprocess.cpp \
moc_qsharedmemory.cpp
include $(REP_DIR)/lib/mk/qt5.inc
# reduce 'not implemented yet' noise
SRC_CC += libc_dummies.cc
vpath libc_dummies.cc $(REP_DIR)/src/lib/qt5
LIBS += zlib pcre16 libc libm libc_pipe
CC_CXX_WARN_STRICT =