It fixes the below build error.
/usr/include/absl/strings/string_view.h:53:26:
error: 'string_view' in namespace 'std' does not name a type
53 | using string_view = std::string_view;
| ^~~~~~~~~~~
/usr/include/absl/strings/string_view.h:53:21:
note: 'std::string_view' is only available from C++17 onwards
53 | using string_view = std::string_view;
Change-Id: I65c3ae573d9510934222e3b41764dca3285cc2cd
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
-Wl,-z,relro
CXXFLAGS += $(USER_DEFINES) $(COMMON_FLAGS) $(shell pkg-config --cflags protobuf) \
- -std=c++14 -fno-exceptions -Wno-unused -Wno-unused-parameter
+ -std=c++17 -fno-exceptions -Wno-unused -Wno-unused-parameter
LDFLAGS += -pie -Wl,-z,noexecstack -lpthread $(shell pkg-config --libs protobuf) \
-Wl,-z,relro