Commit 5d2d54a8 authored by Dmitry Safonov's avatar Dmitry Safonov Committed by Pavel Emelyanov

makefile: make DEBUG & GMONLDOPT simply expanded variables

As they store just a value, not any recursive expands, lets simplify.

Impact: cleanup
Signed-off-by: 's avatarDmitry Safonov <dsafonov@virtuozzo.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent bd0c5281
...@@ -79,7 +79,7 @@ endif ...@@ -79,7 +79,7 @@ endif
ifeq ($(GCOV),1) ifeq ($(GCOV),1)
LDFLAGS += -lgcov LDFLAGS += -lgcov
DEBUG = 1 # disable optimization if we want to measure code coverage DEBUG := 1 # disable optimization if we want to measure code coverage
%.o $(PROGRAM): override CFLAGS += --coverage -fno-exceptions -fno-inline %.o $(PROGRAM): override CFLAGS += --coverage -fno-exceptions -fno-inline
endif endif
...@@ -165,7 +165,7 @@ endif ...@@ -165,7 +165,7 @@ endif
ifeq ($(GMON),1) ifeq ($(GMON),1)
CFLAGS += -pg CFLAGS += -pg
GMONLDOPT = -pg GMONLDOPT := -pg
endif endif
CFLAGS += $(WARNINGS) $(DEFINES) CFLAGS += $(WARNINGS) $(DEFINES)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment