Be more explicit about -O0 -g in 2019/endoh

This commit is contained in:
Cody Boone Ferguson committed 2023-12-19 05:35:18 -08:00
1 parent 6e5f5eebf1
commit ff61979f99
1 file changed
+6 -1
+6 -1
View File
@@ -65,7 +65,9 @@ CINCLUDE=
# Optimization
#
OPT=
# We MUST DISABLE THE OPTIMISER AND ENABLE -g because the entry is A BACKTRACE
# QUINE and NEEDS debugging symbols.
OPT= -O0 -g
# Default flags for ANSI C compilation
#
@@ -129,6 +131,9 @@ all: data ${TARGET}
clean clobber install love haste waste maker easter_egg \
sandwich supernova deep_magic magic charon pluto
# We FORCE the use of -O0 -g even if someone overrides it because this entry is
# a BACKTRACE QUINE and NEEDS DEBUGGING SYMBOLS.
#
${PROG}: ${PROG}.c
${CC} ${CFLAGS} -g $< -o $@ ${LDFLAGS}