mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-08-15 00:10: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
Notes:
sideshowbarker
2024-07-17 14:33:07 +09:00
Author: https://github.com/thatoddmailbox Commit: https://github.com/LadybirdBrowser/ladybird/commit/85a92fb4d7 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/402 Issue: https://github.com/LadybirdBrowser/ladybird/issues/220 Reviewed-by: https://github.com/ADKaster ✅
@ -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