aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/lite/tools/make/targets/linux_makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/contrib/lite/tools/make/targets/linux_makefile.inc')
-rw-r--r--tensorflow/contrib/lite/tools/make/targets/linux_makefile.inc10
1 files changed, 10 insertions, 0 deletions
diff --git a/tensorflow/contrib/lite/tools/make/targets/linux_makefile.inc b/tensorflow/contrib/lite/tools/make/targets/linux_makefile.inc
new file mode 100644
index 0000000000..86499da99e
--- /dev/null
+++ b/tensorflow/contrib/lite/tools/make/targets/linux_makefile.inc
@@ -0,0 +1,10 @@
+# Settings for Linux.
+ifeq ($(TARGET), linux)
+ CXXFLAGS += \
+ -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