Merge branch 'master' into endoh2019

This commit is contained in:
Landon Curt Noll authored and GitHub committed 2023-12-19 10:54:04 -08:00
commit c6ceaf2eb7
2 files changed
+5 -5

No files matched your search

+3 -3
View File
@@ -65,7 +65,7 @@ CINCLUDE=
# Optimization
#
# We MUST DISABLE THE OPTIMISER AND ENABLE -g because the entry is A BACKTRACE
# We disable the optimiser and we enable -g because the entry is A BACKTRACE
# QUINE and NEEDS debugging symbols.
OPT= -O0 -g
@@ -132,10 +132,10 @@ all: data ${TARGET}
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.
# a BACKTRACE QUINE and NEEDS debugging symbols.
#
${PROG}: ${PROG}.c
${CC} ${CFLAGS} -g $< -o $@ ${LDFLAGS}
${CC} ${CFLAGS} -O0 -g $< -o $@ ${LDFLAGS}
ascii: ascii.c
${CC} $< -o $@
+2 -2
View File
@@ -4,8 +4,8 @@
make
```
NOTE: we FORCE disable the optimiser and FORCE enable `-g` as this is a
BACKTRACE QUINE and NEEDS debugging symbols.
NOTE: the use of the C compiler optimiser was disabled and `-g` was enabled for
this entry because it is SUPPOSED to crash and it needs debugging symbols.
### Bugs and (Mis)features: