From 823c3f4b288be5bb5bc9b6f3bf41e809e66b6279 Mon Sep 17 00:00:00 2001 From: AlexeyAB <alexeyab84@gmail.com> Date: Mon, 16 Apr 2018 13:01:35 +0000 Subject: [PATCH] Fixed AVX detection on Linux. --- Makefile | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d71e2bd..8428fb6 100644 --- a/Makefile +++ b/Makefile @@ -47,9 +47,9 @@ CFLAGS=-Wall -Wfatal-errors -Wno-unused-result -Wno-unknown-pragmas ifeq ($(DEBUG), 1) -OPTS=-O0 -g +OPTS= -O0 -g else -OPTS=-ffp-contract=fast -mavx +CFLAGS+= -ffp-contract=fast -mavx endif CFLAGS+=$(OPTS) -- Gitblit v1.10.0