mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-26 08:51:08 +00:00
1953acae77
Since we switched to using C++11 by default, the webkit-related parts of qt4 failed to compile because of C++11 compatibility issues. This patch disables the use of C++11 for the offenders.
24 lines
688 B
Makefile
24 lines
688 B
Makefile
include $(REP_DIR)/lib/import/import-qt_webcore.mk
|
|
|
|
SHARED_LIB = yes
|
|
|
|
# additional defines for the Genode version
|
|
CC_OPT += -DSQLITE_NO_SYNC=1 -DSQLITE_THREADSAFE=0
|
|
|
|
# enable C++ functions that use C99 math functions (disabled by default in the Genode tool chain)
|
|
CC_CXX_OPT += -D_GLIBCXX_USE_C99_MATH
|
|
|
|
# use default warning level to avoid noise when compiling contrib code
|
|
CC_WARN = -Wno-deprecated-declarations
|
|
|
|
CC_OPT_sqlite3 += -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast
|
|
|
|
# some parts of the library are not C++11 compatible
|
|
CC_CXX_OPT_STD =
|
|
|
|
include $(REP_DIR)/lib/mk/qt_webcore_generated.inc
|
|
|
|
include $(REP_DIR)/lib/mk/qt.inc
|
|
|
|
LIBS += qt_jscore qt_network qt_core libc libm
|