Skip to content

Commit

Permalink
update ndk version
Browse files Browse the repository at this point in the history
  • Loading branch information
teble committed Oct 11, 2023
1 parent dcacafd commit 6c925a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions dexkit-android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def libVersion = "2.0.0-rc5"
android {
namespace "org.luckypray.dexkit"
compileSdk 33
ndkVersion = "25.0.8775105"
ndkVersion = "26.1.10909125"

defaultConfig {
minSdk 21
Expand All @@ -39,7 +39,7 @@ android {
"-Wno-unused-variable",
"-Wno-unused-command-line-argument",
]
cppFlags = ["-std=c++2a"] + flags
cppFlags = ["-std=c++20"] + flags
cFlags = ["-std=c18"] + flags
}
}
Expand All @@ -56,7 +56,6 @@ android {
"-Wl,--gc-sections",
"-Wl,--exclude-libs,ALL",
"-Wl,--strip-all",
"-Oz",
"-flto=full",
]
def configFlags = [
Expand Down
2 changes: 1 addition & 1 deletion dexkit/src/main/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.10)
cmake_minimum_required(VERSION 3.4.1...3.27)
project(dexkit)

set(CMAKE_CXX_STANDARD 20)
Expand Down

0 comments on commit 6c925a6

Please sign in to comment.