summaryrefslogtreecommitdiffstats
path: root/applypatch/Android.mk
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2017-08-03 20:24:08 +0200
committerandroid-build-merger <android-build-merger@google.com>2017-08-03 20:24:08 +0200
commit6c1a6c389b84124641343d1ad9a111ec4081c4ba (patch)
treedc8a7c3f89484af8d65beb9b50bba1841ddb3ef3 /applypatch/Android.mk
parentMerge "Add implemention of SortedRangeSet" (diff)
parentMerge "Refactor the imgdiff" (diff)
downloadandroid_bootable_recovery-6c1a6c389b84124641343d1ad9a111ec4081c4ba.tar
android_bootable_recovery-6c1a6c389b84124641343d1ad9a111ec4081c4ba.tar.gz
android_bootable_recovery-6c1a6c389b84124641343d1ad9a111ec4081c4ba.tar.bz2
android_bootable_recovery-6c1a6c389b84124641343d1ad9a111ec4081c4ba.tar.lz
android_bootable_recovery-6c1a6c389b84124641343d1ad9a111ec4081c4ba.tar.xz
android_bootable_recovery-6c1a6c389b84124641343d1ad9a111ec4081c4ba.tar.zst
android_bootable_recovery-6c1a6c389b84124641343d1ad9a111ec4081c4ba.zip
Diffstat (limited to 'applypatch/Android.mk')
-rw-r--r--applypatch/Android.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/applypatch/Android.mk b/applypatch/Android.mk
index a7412d238..7aed0a95a 100644
--- a/applypatch/Android.mk
+++ b/applypatch/Android.mk
@@ -127,7 +127,8 @@ libimgdiff_src_files := imgdiff.cpp
# libbsdiff is compiled with -D_FILE_OFFSET_BITS=64.
libimgdiff_cflags := \
-Werror \
- -D_FILE_OFFSET_BITS=64
+ -D_FILE_OFFSET_BITS=64 \
+ -DZLIB_CONST
libimgdiff_static_libraries := \
libbsdiff \