From 711aef51f759ce9197d0bcb16249f4c42494960d Mon Sep 17 00:00:00 2001 From: Oleksii Shevchuk Date: Sun, 28 Aug 2016 14:29:02 +0300 Subject: [PATCH] Don't mess debug builds with nondebug --- client/sources-linux/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/client/sources-linux/Makefile b/client/sources-linux/Makefile index 3aea961d..76157aeb 100644 --- a/client/sources-linux/Makefile +++ b/client/sources-linux/Makefile @@ -19,6 +19,7 @@ LINUX_INJECT_CFLAGS := -include debug.h -include fixes.h -Dmain=linux_inject_mai ifneq ($(DEBUG),) DEBUG_ADD := debug CFLAGS += -DDEBUG -O0 -g +NAME := "$(NAME)d" else CFLAGS += -O2 LINUX_INJECT_CFLAGS += -Dprintf=dprint -Dfprintf=dfprint