STT-tensorflow/tensorflow/lite/tools/make/targets/linux_makefile.inc
2019-04-10 17:16:55 +09:00

15 lines
339 B
PHP

# Settings for Linux.
ifeq ($(TARGET), linux)
CXXFLAGS += \
-fPIC \
-DGEMMLOWP_ALLOW_SLOW_SCALAR_FALLBACK \
-pthread
CFLAGS += \
-fPIC \
-DGEMMLOWP_ALLOW_SLOW_SCALAR_FALLBACK \
-pthread
# TODO(petewarden): In the future we may want to add architecture-specific
# flags like -msse4.2
LIBS += -ldl
endif