From 263e6af48d9dc0ce51be76174d350e544c886969 Mon Sep 17 00:00:00 2001 From: Niels Date: Sun, 31 Jul 2016 23:03:14 +0200 Subject: [PATCH] switch off assertions for benchmarks --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 15d00f6e..70e8859d 100644 --- a/Makefile +++ b/Makefile @@ -87,7 +87,7 @@ pretty: # benchmarks json_benchmarks: benchmarks/benchmarks.cpp benchmarks/benchpress.hpp benchmarks/cxxopts.hpp src/json.hpp cd benchmarks/files/numbers ; python generate.py - $(CXX) -std=c++11 $(CXXFLAGS) -O3 -flto -I src -I benchmarks $< $(LDFLAGS) -o $@ + $(CXX) -std=c++11 $(CXXFLAGS) -DNDEBUG -O3 -flto -I src -I benchmarks $< $(LDFLAGS) -o $@ ./json_benchmarks