aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorjoe <rbo@gmx.us>2025-09-27 19:51:34 +0200
committerjoe <rbo@gmx.us>2025-09-27 19:51:34 +0200
commit14101eefa260ec23f09ac961a3bed6a32932b9c3 (patch)
treeeaee1618fb9cd17fd13bb1df5378b778d1a84d2f /Makefile
parentpatch (diff)
downloadst-14101eefa260ec23f09ac961a3bed6a32932b9c3.tar.gz
st-14101eefa260ec23f09ac961a3bed6a32932b9c3.tar.bz2
st-14101eefa260ec23f09ac961a3bed6a32932b9c3.tar.xz
st-14101eefa260ec23f09ac961a3bed6a32932b9c3.tar.zst
st-14101eefa260ec23f09ac961a3bed6a32932b9c3.zip
up
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index afea78d..a8debd5 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@ config.h:
cp config.def.h config.h
.c.o:
- $(CC) $(STCFLAGS) -c $<
+ $(CC) -O0 -g3 -fsanitize=address $(STCFLAGS) -c $<
st.o: config.h st.h win.h
x.o: arg.h config.h st.h win.h
@@ -21,7 +21,7 @@ x.o: arg.h config.h st.h win.h
$(OBJ): config.h config.mk
st: $(OBJ)
- $(CC) -o $@ $(OBJ) $(STLDFLAGS)
+ $(CC) -fsanitize=address -o $@ $(OBJ) $(STLDFLAGS)
clean:
rm -f st $(OBJ) config.h st-$(VERSION).tar.gz