diff options
| author | Jules Aguillon | 2026-05-06 23:25:37 +0200 |
|---|---|---|
| committer | GitHub | 2026-05-06 23:25:37 +0200 |
| commit | 9d0a849d347eb3ec0d921bc3a08d39a5b53ebb45 (patch) | |
| tree | 5b91ea6e806c7719100742a8a48118df6a0dc346 /vendor | |
| parent | 267894b5ff79cdaebfa086b60679115ebf8222b5 (diff) | |
| download | unexpected-keyboard-9d0a849d347eb3ec0d921bc3a08d39a5b53ebb45.tar.gz unexpected-keyboard-9d0a849d347eb3ec0d921bc3a08d39a5b53ebb45.zip | |
Make building libcdict reproducible (#1282)
This is needed to release on F-Droid.
Diffstat (limited to 'vendor')
| -rw-r--r-- | vendor/Android.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/Android.mk b/vendor/Android.mk index b514ad9..4974cea 100644 --- a/vendor/Android.mk +++ b/vendor/Android.mk @@ -8,6 +8,10 @@ LOCAL_CFLAGS += LOCAL_SRC_FILES := cdict/libcdict/libcdict.c cdict/java/jni/juloo_cdict_Cdict.c LOCAL_MODULE := libcdict_java LOCAL_SDK_VERSION := 21 + +# Android requires 16K pages LOCAL_LDFLAGS += -Wl,-z,max-page-size=16384 +# Disable build id to ensure reproducibility, needed for F-Droid +LOCAL_LDFLAGS += -Wl,--build-id=none include $(BUILD_SHARED_LIBRARY) |
