libxx: Always build libcxx with -std=c++17
since the implementation of barrier require the aligned new which is defined in C++ 17 Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
385519302e
commit
c1e5ba4602
@ -45,7 +45,7 @@ distclean::
|
||||
$(Q) $(DIRUNLINK) $(TOPDIR)/include/libcxx
|
||||
$(call DELDIR, libcxx)
|
||||
|
||||
CXXFLAGS += ${shell $(DEFINE) "$(CC)" _LIBCPP_BUILDING_LIBRARY}
|
||||
CXXFLAGS += -std=c++17 ${shell $(DEFINE) "$(CC)" _LIBCPP_BUILDING_LIBRARY}
|
||||
|
||||
ifeq ($(CONFIG_LIBSUPCXX), y)
|
||||
CXXFLAGS += ${shell $(DEFINE) "$(CC)" __GLIBCXX__}
|
||||
|
Loading…
Reference in New Issue
Block a user