libs/libxx: Fix typo in shell expressions

Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
chao an 2023-02-21 22:40:43 +08:00 committed by Xiang Xiao
parent 7cfeccee92
commit 5fac313df7

View file

@ -84,7 +84,7 @@ libcxx/src/filesystem/operations.cpp_CXXFLAGS += -Wno-shadow
# 2676 | const basic_string __temp (__first, __last, __alloc());
# | ^~~~~~
GCCVER = $(shell $(CXX) --version | grep gcc | sed -r 's/.* ([0-9]+\.[0-9]+\.[0-9]+).*/\1/')
GCCVER = $(shell $(CXX) --version | grep g++ | sed -r 's/.* ([0-9]+\.[0-9]+\.[0-9]+).*/\1/')
ifeq ($(GCCVER),12.2.1)
libcxx/src/filesystem/operations.cpp_CXXFLAGS += -Wno-maybe-uninitialized
endif