ref: 7d2690e658b1ace33a659e18c895c9cf1745f33f
parent: 4bb01229cd5385f316070b527434476767159bd3
parent: 7317ce8bd4bd1c9d59dce938dbbc36a72eb49c26
author: James Zern <jzern@google.com>
date: Tue Nov 22 15:14:12 EST 2016
Merge "build/make/Android.mk: use -fPIC w/ENABLE_SHARED=1"
--- a/build/make/Android.mk
+++ b/build/make/Android.mk
@@ -202,6 +202,7 @@
@$(RM) $(CLEAN-OBJS)
ifeq ($(ENABLE_SHARED),1)
+ LOCAL_CFLAGS += -fPIC
include $(BUILD_SHARED_LIBRARY)
else
include $(BUILD_STATIC_LIBRARY)