From d2ded4950536db528d18ee9f8ed522024366481c Mon Sep 17 00:00:00 2001 From: epochryphon Date: Sat, 29 Aug 2026 04:21:02 +0200 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5eee13a..c13ef29 100644 --- a/README.md +++ b/README.md @@ -98,5 +98,5 @@ By default, this Makefile includes `-Werror`, which **treats all warnings as err You can tweak optimization levels and sanitizers at the top of the file: -* **Debug (`DEBUG_FLAGS`):** Defaults to `-g3 -O0 -fsanitize=undefined -fno-omit-frame-pointer`. You can add Address Sanitizer by appending `-fsanitize=address`. +* **Debug (`DEBUG_FLAGS`):** Defaults to `-g3 -O0 -fsanitize=undefined -fno-omit-frame-pointer`. You can add Address Sanitizer by replacing `undefined` with `address`. (after the `-fsanitize=` flag) * **Release (`RELEASE_FLAGS`):** Defaults to `-O2 -D NDEBUG`. (`NDEBUG` strips out `assert()` calls). If you want maximum optimization, you can change `-O2` to `-O3` or `-Ofast` (use `-Ofast` with caution as it breaks strict IEEE compliance for math). \ No newline at end of file