Skip to content

Commit

Permalink
fix(android): use C++14 when building native modules
Browse files Browse the repository at this point in the history
  • Loading branch information
garymathews authored and sgtcoolguy committed Feb 24, 2021
1 parent c9c82a4 commit 2df13a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android/templates/module/generated/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ android {
}
externalNativeBuild {
ndkBuild {
cppFlags '-std=c++11'
cppFlags '-std=c++14'
arguments.addAll([
'APP_STL:=c++_shared',
"-j${Runtime.runtime.availableProcessors()}".toString()
Expand Down

0 comments on commit 2df13a9

Please sign in to comment.