mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 09:46:20 +00:00
qt4: Workarounds for missing C++11 compatibility
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.
This commit is contained in:
parent
d65220bcf2
commit
1953acae77
@ -11,6 +11,13 @@ CC_CXX_OPT += -D_GLIBCXX_USE_C99_MATH
|
||||
# use default warning level to avoid noise when compiling contrib code
|
||||
CC_WARN =
|
||||
|
||||
# some parts of the library are not C++11 compatible
|
||||
CC_CXX_OPT_STD =
|
||||
|
||||
# StackBounds includes Genode headers, which rely on C++11. Hence, we need
|
||||
# to selectively enable C++11 for this compilation unit.
|
||||
CC_OPT_StackBounds = -std=gnu++11
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt_jscore_generated.inc
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt.inc
|
||||
|
@ -13,6 +13,9 @@ 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
|
||||
|
@ -13,6 +13,9 @@ 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_webkit_generated.inc
|
||||
|
||||
include $(REP_DIR)/lib/mk/qt.inc
|
||||
|
Loading…
x
Reference in New Issue
Block a user