From 0232ed5ed31fc699928f80d7d873e871e49bbf5d Mon Sep 17 00:00:00 2001 From: zimoch Date: Thu, 5 Dec 2013 12:30:41 +0000 Subject: [PATCH] Add debug information (-d) to all linux code. This has no impact on execution time or memory footprint, only on file size. --- configure/os/CONFIG.Common.linuxCommon | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure/os/CONFIG.Common.linuxCommon b/configure/os/CONFIG.Common.linuxCommon index db66319b2..d2b97f226 100644 --- a/configure/os/CONFIG.Common.linuxCommon +++ b/configure/os/CONFIG.Common.linuxCommon @@ -42,6 +42,12 @@ LDLIBS_READLINE = -lreadline LDLIBS_READLINE_NCURSES = -lreadline -lncurses LDLIBS_READLINE_CURSES = -lreadline -lcurses +# Add debug info to all linux code. +# This has no performance or memory penalty. +# It only uses some disk space. +OPT_CFLAGS += -g +OPT_CXXFLAGS += -g + #-------------------------------------------------- # Allow site overrides -include $(CONFIG)/os/CONFIG_SITE.Common.linuxCommon