Fix minor issues

This commit is contained in:
Justine Tunney 2021-10-08 20:51:11 -07:00
parent bba144246a
commit 425a57080d
3 changed files with 4 additions and 4 deletions

View file

@ -52,7 +52,7 @@ o/$(MODE)/third_party/bzip2/bzip2.com.dbg: \
o/$(MODE)/third_party/bzip2/bzip2.a.pkg \
$(CRT) \
$(APE)
-@$(APELINK)
@$(APELINK)
o/$(MODE)/third_party/bzip2/bzip2recover.com.dbg: \
$(THIRD_PARTY_BZIP2) \
@ -60,7 +60,7 @@ o/$(MODE)/third_party/bzip2/bzip2recover.com.dbg: \
o/$(MODE)/third_party/bzip2/bzip2.a.pkg \
$(CRT) \
$(APE)
-@$(APELINK)
@$(APELINK)
$(THIRD_PARTY_BZIP2_A_OBJS): \
OVERRIDE_CFLAGS += \

View file

@ -694,7 +694,7 @@ void linenoiseDisableRawMode(void) {
linenoiseUnpause(rawmode);
sigaction(SIGCONT, &orig_cont, 0);
sigaction(SIGWINCH, &orig_winch, 0);
tcsetattr(rawmode, TCSAFLUSH, &orig_termios);
tcsetattr(rawmode, TCSANOW, &orig_termios);
rawmode = -1;
}
}

View file

@ -3,6 +3,7 @@
.PHONY: o/$(MODE)/third_party
o/$(MODE)/third_party: \
o/$(MODE)/third_party/argon2 \
o/$(MODE)/third_party/bzip2 \
o/$(MODE)/third_party/chibicc \
o/$(MODE)/third_party/compiler_rt \
@ -21,5 +22,4 @@ o/$(MODE)/third_party: \
o/$(MODE)/third_party/sqlite3 \
o/$(MODE)/third_party/stb \
o/$(MODE)/third_party/xed \
o/$(MODE)/third_party/argon2 \
o/$(MODE)/third_party/zlib