summaryrefslogtreecommitdiffstats
path: root/applypatch
diff options
context:
space:
mode:
authorSen Jiang <senj@google.com>2016-03-08 23:27:14 +0100
committerSen Jiang <senj@google.com>2016-03-09 02:02:50 +0100
commitef2016f711eaef6c22d177a12d335055556ea3a0 (patch)
tree1cc35f0e097a3dc974d065042b5c869a05bcb6ed /applypatch
parentMerge "Remove dumpkey build guards after completing code move." (diff)
downloadandroid_bootable_recovery-ef2016f711eaef6c22d177a12d335055556ea3a0.tar
android_bootable_recovery-ef2016f711eaef6c22d177a12d335055556ea3a0.tar.gz
android_bootable_recovery-ef2016f711eaef6c22d177a12d335055556ea3a0.tar.bz2
android_bootable_recovery-ef2016f711eaef6c22d177a12d335055556ea3a0.tar.lz
android_bootable_recovery-ef2016f711eaef6c22d177a12d335055556ea3a0.tar.xz
android_bootable_recovery-ef2016f711eaef6c22d177a12d335055556ea3a0.tar.zst
android_bootable_recovery-ef2016f711eaef6c22d177a12d335055556ea3a0.zip
Diffstat (limited to 'applypatch')
-rw-r--r--applypatch/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/applypatch/Makefile b/applypatch/Makefile
index fa6298d46..de6d4268f 100644
--- a/applypatch/Makefile
+++ b/applypatch/Makefile
@@ -28,5 +28,6 @@ clean:
imgdiff: imgdiff.o bsdiff.o utils.o
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDLIBS) -o $@ $^
+libimgpatch.a utils.o: CXXFLAGS += -fPIC
libimgpatch.a: imgpatch.o bspatch.o utils.o
${AR} rcs $@ $^