mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-18 21:27:56 +00:00
vbox6: adapt to C++20 function template syntax
GCC's -std=gnu++17 is required for VirtualBox 6 but, fortunately, support the "auto template" syntax with -fconcepts. Issue #5227
This commit is contained in:
parent
65ca9ee906
commit
16e088a34e
@ -63,7 +63,7 @@ VBOX_CC_OPT += -DVBOX_WITH_GUEST_PROPS
|
||||
# prevent access to port content at the dependency stage of the build system
|
||||
ifeq ($(called_from_lib_mk),yes)
|
||||
include $(VIRTUALBOX_DIR)/Version.kmk
|
||||
CC_CXX_OPT_STD = -std=gnu++17
|
||||
CC_CXX_OPT_STD = -std=gnu++17 -fconcepts
|
||||
endif
|
||||
|
||||
# if included from virtualbox6/target.mk provide version but leave CC_CXX_OPT_STD alone
|
||||
|
Loading…
Reference in New Issue
Block a user