Skip to content

Commit 288a777

Browse files
authored
Disable builtin stpcpy optimizations
Apps will not work if run on older Android versions if we build against latest ndk platform as we currently do
1 parent 179cd38 commit 288a777

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runtime/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ model {
5454
"-I${file("src/main/jni/include")}".toString()
5555
])
5656

57-
cppFlags.addAll(["-std=c++11", "-fexceptions"])
58-
CFlags.addAll(["-Wno-error=format-security", "-g"])
57+
cppFlags.addAll(["-std=c++11", "-fexceptions", "-fno-builtin-stpcpy"])
58+
CFlags.addAll(["-Wno-error=format-security", "-g", "-fno-builtin-stpcpy"])
5959

6060
ldLibs.addAll(["android", "dl", "log", "atomic", "z"])
6161

0 commit comments

Comments
 (0)