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/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/contrib/makefile/Makefile b/tensorflow/contrib/makefile/Makefile
index fc465ab380..2e45ddad54 100644
--- a/tensorflow/contrib/makefile/Makefile
+++ b/tensorflow/contrib/makefile/Makefile
@@ -202,7 +202,7 @@ ifeq ($(TARGET),LINUX)
endif
# If we're cross-compiling for the Raspberry Pi, use the right gcc.
ifeq ($(TARGET),PI)
- CXXFLAGS += -D__ANDROID_TYPES_SLIM__
+ CXXFLAGS += -D__ANDROID_TYPES_SLIM__ -DRASPBERRY_PI
LDFLAGS := -Wl,--no-whole-archive
LIBS += -ldl -lpthread
LIBFLAGS += -Wl,--allow-multiple-definition -Wl,--whole-archive