summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSen Jiang <senj@google.com>2016-03-09 02:35:41 +0100
committerandroid-build-merger <android-build-merger@google.com>2016-03-09 02:35:41 +0100
commitdb78de25c2dfe0657c2b3408a5f9f5a587931cff (patch)
treeac8cfb06933bcedab2b20c955601d2dce968af86
parentrecovery: Begin refactor of WearUI to use ScreenRecoveryUI (diff)
parentMerge "applypatch: add -fPIC for libimgpatch in Chrome OS." (diff)
downloadandroid_bootable_recovery-db78de25c2dfe0657c2b3408a5f9f5a587931cff.tar
android_bootable_recovery-db78de25c2dfe0657c2b3408a5f9f5a587931cff.tar.gz
android_bootable_recovery-db78de25c2dfe0657c2b3408a5f9f5a587931cff.tar.bz2
android_bootable_recovery-db78de25c2dfe0657c2b3408a5f9f5a587931cff.tar.lz
android_bootable_recovery-db78de25c2dfe0657c2b3408a5f9f5a587931cff.tar.xz
android_bootable_recovery-db78de25c2dfe0657c2b3408a5f9f5a587931cff.tar.zst
android_bootable_recovery-db78de25c2dfe0657c2b3408a5f9f5a587931cff.zip
-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 $@ $^