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 97d963ede2..bb22586264 100644
--- a/tensorflow/contrib/makefile/Makefile
+++ b/tensorflow/contrib/makefile/Makefile
@@ -137,7 +137,7 @@ $(shell mkdir -p $(DEPDIR) >/dev/null)
# Settings for the target compiler.
CXX := $(CC_PREFIX) gcc
-OPTFLAGS := -O2
+OPTFLAGS := -O2 -march=native
CXXFLAGS := --std=c++11 -DIS_SLIM_BUILD -fno-exceptions -DNDEBUG $(OPTFLAGS)
LDFLAGS := \
-L/usr/local/lib