Add debug information (-d) to all linux code. This has no impact on execution time or memory footprint, only on file size.

This commit is contained in:
zimoch
2013-12-05 12:30:41 +00:00
parent 59c0cddbc5
commit 0232ed5ed3

View File

@@ -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