Re-enable optimiser in 2001/williams

The bugs.md was updated to remind people when debugging crashes that it
would be wise to have -O0 and -g (or if they can -ggdb3). That should be
noted in general for debugging but it's especially useful for crashes
and I'm trying to get this part done so I can resume 2019.
This commit is contained in:
Cody Boone Ferguson committed 2023-12-19 09:48:57 -08:00
1 parent e0456a394b
commit d2f02075f6
2 files changed
+4 -1

No files matched your search

+1 -1
View File
@@ -68,7 +68,7 @@ CINCLUDE= -I ${X11_INCDIR} -I ${X11_INCDIR}/X11
# Optimization # Optimization
# #
OPT= -ggdb3 OPT= -O3
# Default flags for ANSI C compilation # Default flags for ANSI C compilation
# #
+3
View File
@@ -302,6 +302,9 @@ crashes.
NOTE: this does NOT apply to entries under the INABIAF status (though they're NOTE: this does NOT apply to entries under the INABIAF status (though they're
not mutually exclusive in some cases). not mutually exclusive in some cases).
REMINDER: if you're debugging a crash it will be very helpful to have `-O0 -g`
or if you can `-ggdb3` when compiling as that will help with debugging symbols.
## STATUS: uses gets() - change to fgets() if possible ## STATUS: uses gets() - change to fgets() if possible