From d0f145f0094596a666d5b64904d9177dd906753c Mon Sep 17 00:00:00 2001 From: gabime Date: Fri, 15 May 2015 22:54:07 +0300 Subject: [PATCH] fixed tests make file --- tests/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index fc428a9b..5f841a85 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -1,6 +1,6 @@ CXX ?= g++ -CXXFLAGS = -Wall -pedantic -std=c++11 -pthread -Wl,--no-as-needed -O2 -LDPFALGS = -pthread -flto +CXXFLAGS = -Wall -pedantic -std=c++11 -pthread -O2 +LDPFALGS = -pthread CPP_FILES := $(wildcard *.cpp) OBJ_FILES := $(addprefix ./,$(notdir $(CPP_FILES:.cpp=.o))) @@ -10,7 +10,7 @@ tests: $(OBJ_FILES) $(CXX) $(CXXFLAGS) $(LDPFALGS) -o $@ $^ %.o: %.cpp - g++ $(CXXFLAGS) -c -o $@ $< + $(CXX) $(CXXFLAGS) -c -o $@ $< clean: rm -f tests *.o logs/*