mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 12:08:36 +08:00
libs/libxx: Fix typo in shell expressions
Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
parent
7cfeccee92
commit
5fac313df7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue