Skip to content

Commit

Permalink
Add -march=native to release build flags, implies -mtune=..
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisOSRM committed Feb 13, 2014
1 parent 7423b70 commit 3ff6962
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CXX := $(CXX)
BOOST_LIBS = -lboost_timer -lboost_system -lboost_chrono
RELEASE_FLAGS = -O3 -DNDEBUG -finline-functions
RELEASE_FLAGS = -O3 -DNDEBUG -finline-functions -march=native
DEBUG_FLAGS = -O0 -g -DDEBUG -fno-inline-functions
COMMON_FLAGS = -Wall -Wsign-compare -Wsign-conversion -Wshadow -Wunused-parameter -pedantic -fvisibility-inlines-hidden -std=c++11
CXXFLAGS := $(CXXFLAGS)
Expand Down

0 comments on commit 3ff6962

Please sign in to comment.