diff --git a/aosp/libsparse/simg2simg/build.gradle.kts b/aosp/libsparse/simg2simg/build.gradle.kts index 8249e94f..f96803d9 100644 --- a/aosp/libsparse/simg2simg/build.gradle.kts +++ b/aosp/libsparse/simg2simg/build.gradle.kts @@ -12,3 +12,7 @@ application { tasks.withType(LinkExecutable::class.java).configureEach { linkerArgs.add("-lz") } + +tasks.withType(CppCompile::class.java).configureEach { + compilerArgs.add("-std=c++11") +}