From 8c3694bc911bbeab63e75c18f920e0991a5fa877 Mon Sep 17 00:00:00 2001 From: Joseph Redmon <pjreddie@gmail.com> Date: Sat, 07 Dec 2013 17:38:50 +0000 Subject: [PATCH] Ensemble --- Makefile | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e1238d6..44c930f 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,12 @@ CC=gcc COMMON=-Wall `pkg-config --cflags opencv` +CFLAGS= $(COMMON) -O3 -ffast-math -flto UNAME = $(shell uname) ifeq ($(UNAME), Darwin) COMMON += -isystem /usr/local/Cellar/opencv/2.4.6.1/include/opencv -isystem /usr/local/Cellar/opencv/2.4.6.1/include else -COMMON += -march=native +CFLAGS += -march=native endif -CFLAGS= $(COMMON) -O3 -ffast-math -flto #CFLAGS= $(COMMON) -O0 -g LDFLAGS=`pkg-config --libs opencv` -lm VPATH=./src/ -- Gitblit v1.10.0