From 2f6329adcf39dfed7802c226436c15173dc44635 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 14 May 2016 11:16:04 -0400 Subject: [PATCH] Added the _UI_RELEASE macro for turning off debugging. We won't actually turn off debugging just yet. --- build/GNUmakefile.libui | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build/GNUmakefile.libui b/build/GNUmakefile.libui index 393f054f..41b106ae 100644 --- a/build/GNUmakefile.libui +++ b/build/GNUmakefile.libui @@ -42,6 +42,11 @@ else -D "_UI_EXTERN=__declspec(dllexport) extern" endif +ifeq ($(RELEASE),1) + CFLAGS += -D_UI_RELEASE + CXXFLAGS += -D_UI_RELEASE +endif + ifeq ($(USESSONAME),1) LDFLAGS += $(SONAMEFLAG)$(NAME)$(SUFFIX) endif