From 7eb41ccf0f21b7a86115cbd81ae6c66dfb2d446c Mon Sep 17 00:00:00 2001 From: gabime Date: Fri, 23 Feb 2018 14:29:14 +0200 Subject: [PATCH] Use -O3 flag in tests --- tests/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index b1935e75..e8333186 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -1,10 +1,10 @@ CXX ?= g++ ifeq ($(STYLE),printf) $(info *** PRINTF STYLE ***) - CXXFLAGS = -DSPDLOG_FMT_PRINTF -Wall -pedantic -std=c++11 -pthread -O2 -I../include + CXXFLAGS = -DSPDLOG_FMT_PRINTF -Wall -pedantic -std=c++11 -pthread -O3 -I../include else $(info *** FORMAT STYLE ***) - CXXFLAGS = -Wall -pedantic -std=c++11 -pthread -O2 -I../include + CXXFLAGS = -Wall -pedantic -std=c++11 -pthread -O3 -I../include endif LDPFALGS = -pthread