aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/makefile/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/contrib/makefile/Makefile')
-rw-r--r--tensorflow/contrib/makefile/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tensorflow/contrib/makefile/Makefile b/tensorflow/contrib/makefile/Makefile
index dba1464653..e2e6c05591 100644
--- a/tensorflow/contrib/makefile/Makefile
+++ b/tensorflow/contrib/makefile/Makefile
@@ -314,7 +314,8 @@ ifeq ($(TARGET),ANDROID)
-Wno-narrowing \
-fomit-frame-pointer \
$(MARCH_OPTION) \
--fPIE
+-fPIE \
+-fPIC
INCLUDES = \
-I$(NDK_ROOT)/sources/android/support/include \
-I$(NDK_ROOT)/sources/cxx-stl/gnu-libstdc++/4.9/include \