aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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