From cbea7b962ea73b6d3ec7e7c1ad2c2a90604b9b9d Mon Sep 17 00:00:00 2001 From: Rod Sheeter Date: Mon, 6 Mar 2017 10:30:05 -0800 Subject: [PATCH] Make it possible to disable noisy logging in support of #348 --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3f556d0..622a2af 100644 --- a/Makefile +++ b/Makefile @@ -6,9 +6,10 @@ AR ?= ar CC ?= gcc CXX ?= g++ -# It's helpful to be able to turn this off for fuzzing +# It's helpful to be able to turn these off for fuzzing CANONICAL_PREFIXES ?= -no-canonical-prefixes -COMMON_FLAGS = -fno-omit-frame-pointer $(CANONICAL_PREFIXES) -DFONT_COMPRESSION_BIN -D __STDC_FORMAT_MACROS +NOISY_LOGGING ?= -DFONT_COMPRESSION_BIN +COMMON_FLAGS = -fno-omit-frame-pointer $(CANONICAL_PREFIXES) $(NOISY_LOGGING) -D __STDC_FORMAT_MACROS ifeq ($(OS), Darwin) CPPFLAGS += -DOS_MACOSX