]> vcs.slashdirt.org Git - sw/tic2json.git/commitdiff

vcs.slashdirt.org Git - sw/tic2json.git/commitdiff

git git / sw / tic2json.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ea25a49)
flex: use --never-interactive
Sun, 5 Jun 2022 14:27:05 +0000 (16:27 +0200)
2022年6月21日 07:37:02 +0000 (09:37 +0200)
Ensures flex does not try to call isatty() which is no longer defined
since we use nounistd.


diff --git a/src/Makefile b/src/Makefile
index ceff2420b0010cc0d889cd32f96c5f53847cb772..36238d734dc1345b8b4c35467b138215e0e46269 100644 (file)
--- a/src/Makefile
+++ b/src/Makefile
@@ -14,7 +14,7 @@ all: $(MAIN)
%.lex.c: %.l %.tab.h
# The ideal size for the flex buffer is the length of the longest token expected, in bytes, plus a little more.
- flex -DYY_BUF_SIZE=128 -P$*yy -o$@ $<
+ flex --never-interactive -DYY_BUF_SIZE=128 -P$*yy -o$@ $<
%.tab.h %.tab.c: %.y
bison -Wno-other -p $*yy -d $<
tic2json TIC parser/converter
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /