libxx: Use gnu++20 option only if using libcxx
Fix an issue that gnu++20 option is always used. Essentially, when cxx is not used, gnu++17 should be retained.
This commit is contained in:
parent
6521bdfa1f
commit
bf6606f80c
|
@ -90,7 +90,8 @@ endif
|
||||||
|
|
||||||
config CXX_STANDARD
|
config CXX_STANDARD
|
||||||
string "Language standard"
|
string "Language standard"
|
||||||
default "gnu++20"
|
default "gnu++20" if LIBCXX
|
||||||
|
default "gnu++17" if !LIBCXX
|
||||||
---help---
|
---help---
|
||||||
Possible values:
|
Possible values:
|
||||||
gnu++98/c++98, gnu++11/c++11, gnu++14/c++14, gnu++17/c++17 and gnu++20/c++20
|
gnu++98/c++98, gnu++11/c++11, gnu++14/c++14, gnu++17/c++17 and gnu++20/c++20
|
||||||
|
|
Loading…
Reference in New Issue