mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-07-14 08:40:35 +03:00
Android: Update C++ standard flag
The current version of the Android NDK uses Clang 17, which uses the name c++2b instead of c++23. This is the same flag we use in Meta/gn/build/BUILD.gn for macOS.
This commit is contained in:
parent
d1788a7a02
commit
85a92fb4d7
@ -34,7 +34,8 @@ android {
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
externalNativeBuild {
|
||||
cmake {
|
||||
cppFlags += "-std=c++23"
|
||||
// FIXME: Use -std=c++23 once the Android NDK's clang supports that.
|
||||
cppFlags += "-std=c++2b"
|
||||
arguments += listOf(
|
||||
"-DLagomTools_DIR=$buildDir/lagom-tools-install/share/LagomTools",
|
||||
"-DSERENITY_CACHE_DIR=$cacheDir",
|
||||
|
Loading…
Reference in New Issue
Block a user