From a0629551f712aedf78c03762312641a05a8feae6 Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Sun, 3 Sep 2023 12:05:44 +0200 Subject: [PATCH] Remove debug symbols from release build --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index dc07e5f..a5bed66 100644 --- a/Makefile +++ b/Makefile @@ -21,9 +21,9 @@ CXX ?= g++ RM := /bin/rm -rf INSTALL := /usr/bin/install -c -CXXFLAGS += -Wshadow -Wall -Wpedantic -Wextra -g -std=c++17 +CXXFLAGS += -Wshadow -Wall -Wpedantic -Wextra -std=c++17 ifeq ($(DEBUG),1) - CXXFLAGS += -D DEBUG -O0 + CXXFLAGS += -g3 -D DEBUG -O0 CONFIG := debug else CXXFLAGS += -D NDEBUG -O3