aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--config.def.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index a8debd5..afea78d 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@ config.h:
cp config.def.h config.h
.c.o:
- $(CC) -O0 -g3 -fsanitize=address $(STCFLAGS) -c $<
+ $(CC) $(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) -fsanitize=address -o $@ $(OBJ) $(STLDFLAGS)
+ $(CC) -o $@ $(OBJ) $(STLDFLAGS)
clean:
rm -f st $(OBJ) config.h st-$(VERSION).tar.gz
diff --git a/config.def.h b/config.def.h
index cb031b1..536e7de 100644
--- a/config.def.h
+++ b/config.def.h
@@ -190,7 +190,7 @@ static MouseShortcut mshortcuts[] = {
#define TERMMOD (ControlMask|ShiftMask)
static char *linkviewcmd[] = { "/bin/sh", "-c",
- "alacritty -e linkview $(tmp=$(xurls | uniq); IFS=; [ ! -z $tmp ] && echo $tmp | dmenu -i -l 20 -m 0 | tr -d '\n' | cat)",
+ "st -e linkview $(tmp=$(xurls | uniq); IFS=; [ ! -z $tmp ] && echo $tmp | dmenu -i -l 20 -m 0 | tr -d '\n' | cat)",
"externalpipe", NULL };
static char *cpyoutcmd[] = { "/bin/sh", "-c", "/usr/local/bin/st-cpyout", "externalpipe", NULL };
static char *cpyoutnopcmd[] = { "/bin/sh", "-c", "/usr/local/bin/st-cpyout noprompt", "externalpipe", NULL };