From cd3b6e492a469ff231cf785bd53de9034669686d Mon Sep 17 00:00:00 2001 From: danomatika Date: Wed, 10 Jan 2018 00:56:23 +0100 Subject: [PATCH] DEBUG makefile option set -g instead of -Wall --- CHANGES.txt | 1 + Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.txt b/CHANGES.txt index 49dc5f6d3..23a1ea33f 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -22,6 +22,7 @@ * makefile: added MULTI option to build libpd with multiple instance support * makefile: now installs libpd .def and .lib files on Windows * makefile: C++ headers are now conditionally installed if built with UTIL=true +* makefile: DEBUG option now sets -g instead of -Wall * makefile: use install command and set permissions * makefile: fixed install bug when libdir doesn't exist (Wim Muskee) * makefile: added BSD build support (Luc Hondareyte) diff --git a/Makefile b/Makefile index ce35b2df0..1760c1ceb 100644 --- a/Makefile +++ b/Makefile @@ -124,7 +124,7 @@ endif # conditional optimizations or debug settings OPT_CFLAGS = -O3 ifeq ($(DEBUG), true) - OPT_CFLAGS = -Wall + OPT_CFLAGS = -g endif # conditional to set numeric locale to default "C"