diff --git a/compile.mk b/compile.mk index f1213178..e5064aed 100644 --- a/compile.mk +++ b/compile.mk @@ -14,13 +14,11 @@ FLAGS += -MMD -MP # Debugger symbols. These are removed with `strip`. FLAGS += -g # Optimization -FLAGS += -O3 -march=core2 -funsafe-math-optimizations +FLAGS += -O3 -march=nehalem -funsafe-math-optimizations # Warnings FLAGS += -Wall -Wextra -Wno-unused-parameter # C++ standard CXXFLAGS += -std=c++11 -# C standard -CFLAGS += -std=c11 # Architecture-independent flags ifdef ARCH_LIN diff --git a/dep.mk b/dep.mk index 7a866cab..1d541269 100644 --- a/dep.mk +++ b/dep.mk @@ -5,7 +5,7 @@ DEP_LOCAL ?= dep $(shell mkdir -p $(DEP_LOCAL)) DEP_PATH := $(abspath $(DEP_LOCAL)) -DEP_FLAGS += -g -O3 -march=nocona +DEP_FLAGS += -g -O3 -march=nehalem # This is needed for Rack for DAWs. # Static libs don't usually compiled with -fPIC, but since we're including them in a shared library, it's needed. DEP_FLAGS += -fPIC