From 0fe1c6bcc86edc649624d655643627e20d02eba9 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Thu, 12 Apr 2018 20:43:43 +0000
Subject: [PATCH] Minor fix for yolo_console_dll.cpp

---
 Makefile |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 2c5fdb6..8428fb6 100644
--- a/Makefile
+++ b/Makefile
@@ -44,10 +44,12 @@
 OPTS=-Ofast
 LDFLAGS= -lm -pthread 
 COMMON= 
-CFLAGS=-Wall -Wfatal-errors
+CFLAGS=-Wall -Wfatal-errors -Wno-unused-result -Wno-unknown-pragmas
 
 ifeq ($(DEBUG), 1) 
-OPTS=-O0 -g
+OPTS= -O0 -g
+else
+CFLAGS+= -ffp-contract=fast -mavx
 endif
 
 CFLAGS+=$(OPTS)

--
Gitblit v1.10.0