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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user