summaryrefslogtreecommitdiffstats
path: root/applypatch
diff options
context:
space:
mode:
authorSen Jiang <senj@google.com>2016-03-09 02:28:09 +0100
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-03-09 02:28:09 +0100
commit5593342575323f5f10e7af669871627e4ada8c7b (patch)
tree7ed8db60eb84a051274c4f0540fb84c83fdabd79 /applypatch
parentMerge "Reboot and retry on I/O errors" (diff)
parentapplypatch: add -fPIC for libimgpatch in Chrome OS. (diff)
downloadandroid_bootable_recovery-5593342575323f5f10e7af669871627e4ada8c7b.tar
android_bootable_recovery-5593342575323f5f10e7af669871627e4ada8c7b.tar.gz
android_bootable_recovery-5593342575323f5f10e7af669871627e4ada8c7b.tar.bz2
android_bootable_recovery-5593342575323f5f10e7af669871627e4ada8c7b.tar.lz
android_bootable_recovery-5593342575323f5f10e7af669871627e4ada8c7b.tar.xz
android_bootable_recovery-5593342575323f5f10e7af669871627e4ada8c7b.tar.zst
android_bootable_recovery-5593342575323f5f10e7af669871627e4ada8c7b.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 $@ $^