diff --git a/android/build.gradle b/android/build.gradle index 5470831..1ba4235 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -8,6 +8,7 @@ def buildAutomatic = hasProperty('buildAutomatic') ? buildAutomatic : "true" def threadsToUse = 1 def pEpEngineDB = new File(new File(pEpEngineSrc), 'db') +def archsToCompile = "arm arm64 x86 x86_64" buildscript { repositories { @@ -118,7 +119,7 @@ android { // call external build (GnuPG, GPGME, etc) task buildExternal(type:Exec, dependsOn: 'genSources') { workingDir 'external' - commandLine 'make', "-j${threadsToUse}", 'build' + commandLine 'make', "-j${threadsToUse}", 'build', "archs=${archsToCompile}" } task externalAssets(type:Exec) {