From 52391d9a08a761359be322ae173344d78c823087 Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Thu, 15 Sep 2022 09:15:19 +0200 Subject: [PATCH] libZRCola: Set CFLAGS too and enable debugging on Debug builds Signed-off-by: Simon Rozman --- include/props.mak | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/props.mak b/include/props.mak index 56245fe..225a676 100644 --- a/include/props.mak +++ b/include/props.mak @@ -1,10 +1,12 @@ CPPFLAGS := $(CPPFLAGS) -MMD -MP ifeq ($(CFG),Debug) CPPFLAGS := $(CPPFLAGS) -D_DEBUG -CXXFLAGS := -Og +CFLAGS := $(CFLAGS) -Og -g +CXXFLAGS := $(CXXFLAGS) -Og -g else CPPFLAGS := $(CPPFLAGS) -DNDEBUG -CXXFLAGS := -O3 +CFLAGS := $(CFLAGS) -O3 +CXXFLAGS := $(CXXFLAGS) -O3 endif OBJS := $(SRCS:%=%.o)