Merge pull request #1 from marcin-sielski/fix-rpi-zero-build

Fix a bug related to build TF Lite on RPI Zero.
This commit is contained in:
Marcin Sielski 2020-04-13 21:08:09 +02:00 committed by GitHub
commit 9c4a71c85c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@ ifeq ($(TARGET),rpi)
# TODO(petewarden) In the future, we'll want to use OpenBLAS as a faster # TODO(petewarden) In the future, we'll want to use OpenBLAS as a faster
# alternative to Eigen on non-NEON ARM hardware like armv6. # alternative to Eigen on non-NEON ARM hardware like armv6.
ifeq ($(TARGET_ARCH), armv6) ifeq ($(TARGET_ARCH), armv6)
TARGET_TOOLCHAIN_PREFIX := arm-linux-gnueabi- TARGET_TOOLCHAIN_PREFIX := arm-linux-gnueabihf-
CXXFLAGS += \ CXXFLAGS += \
-march=armv6 \ -march=armv6 \
-mfpu=vfp \ -mfpu=vfp \