summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWormHeamer2025-08-04 22:13:25 -0400
committerWormHeamer2025-08-04 22:13:25 -0400
commit88b01f43312eeceba87a1378be5cd63bb11f167f (patch)
treec7046558223ac692958ca1c7b9da71f05493f148 /Makefile
parent22aa7559a37c49def05e8a43b12561b17a4af258 (diff)
fix bug of lhs getting culled if same node optimized out of rhs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 48e0b1c..b77cd62 100644
--- a/Makefile
+++ b/Makefile
@@ -10,9 +10,10 @@ OBJ != find -type f -name '*.c' | sed 's/\.c$$/.o/'
DEBUG = 0
GDB != which gf2 2> /dev/null || which gdb
-CFLAGS_1 = -g3 -fsanitize=undefined
+CFLAGS_0 = -Os
+CFLAGS_1 = -O0 -g3 -fsanitize=undefined
LDFLAGS_1 = -g3 -fsanitize=undefined
-LDFLAGS_0 = -Os -s
+LDFLAGS_0 = -s
PREFIX ?= ${HOME}/.local
BINDIR = ${PREFIX}/bin