[syslinux:elflink] core: Makefile: Do not enable debug by default

syslinux-bot for Paulo Alcantara pcacjr at zytor.com
Thu Jul 19 08:48:05 PDT 2012


Commit-ID:  5441637e53c663764612a708ad75b00d3229c1a5
Gitweb:     http://www.syslinux.org/commit/5441637e53c663764612a708ad75b00d3229c1a5
Author:     Paulo Alcantara <pcacjr at zytor.com>
AuthorDate: Thu, 5 Jul 2012 03:54:19 -0300
Committer:  Paulo Alcantara <pcacjr at zytor.com>
CommitDate: Thu, 5 Jul 2012 03:55:37 -0300

core: Makefile: Do not enable debug by default

The commit 72842b6 has set "DDEBUG=1" as it shouldn't, so the whole core
was being compiled always with debug enabled.

This patch removes the "DDEBUG=1" from CFLAGS in Makefile, since Syslinux
is never compiled with debug enabled by default.

Signed-off-by: Paulo Alcantara <pcacjr at zytor.com>

---
 core/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/core/Makefile b/core/Makefile
index 3147566..a01d83a 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -62,7 +62,7 @@ NASMOPT  += $(NASMDEBUG)
 
 PREPCORE = ../lzo/prepcore
 
-CFLAGS	+= -DDEBUG=1 -D__SYSLINUX_CORE__
+CFLAGS += -D__SYSLINUX_CORE__
 
 # The DATE is set on the make command line when building binaries for
 # official release.  Otherwise, substitute a hex string that is pretty much


More information about the Syslinux-commits mailing list