Skip to content

Commit e8d7b98

Browse files
authored
Remove some non-determinism
Your app is not built reproducible in F-Droid, but we continuously test older versions on https://verification.f-droid.org/ and would like more and more apps to become repro Looking at the latest app report: https://verification.f-droid.org/packages/app.intra/ We can fix the GO BUILDID and the different /tmp paths.
1 parent 246299f commit e8d7b98

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Android/app/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,9 @@ tasks.register('compileGoBackend', Exec) {
157157
System.getenv('PATH')
158158

159159
commandLine("${goBuildDir}/gomobile", 'bind',
160-
'-ldflags=-s -w',
160+
'-ldflags=-s -w -buildid=',
161161
'-target=android',
162+
'-trimpath',
162163
"-androidapi=${android.defaultConfig.minSdk}",
163164
'-o', goBackendAAR,
164165
*goSourcePackages)

0 commit comments

Comments
 (0)