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