From 9ef8815264ac5fbac00b23b47f569c66c55d440b Mon Sep 17 00:00:00 2001 From: Stas Sergeev Date: Sat, 14 Sep 2024 20:47:25 +0300 Subject: [PATCH] mkproto.sh: fix build with newer ctags --- src/libc/dj64/parsers/mkproto.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libc/dj64/parsers/mkproto.sh b/src/libc/dj64/parsers/mkproto.sh index 08bc4649..a4f1ae6e 100755 --- a/src/libc/dj64/parsers/mkproto.sh +++ b/src/libc/dj64/parsers/mkproto.sh @@ -72,7 +72,7 @@ export RTAGS list_syms $TL T | xargs -I '{}' bash -c "extr_proto $TF '{}' ASMFUNC" | nl -n ln -v 0 >$1 list_syms $TL U | xargs -I '{}' bash -c "extr_proto $TF '{}' ASMCFUNC" | nl -n ln -v 0 >$2 echo "#define THUNK_INCS 1" >$3 -list_syms2 $TL U T | xargs $RTAGS -t $TF | expand | tr -s '[:blank:]' | \ +list_syms2 $TL U T | xargs -L 1 $RTAGS -t $TF | expand | tr -s '[:blank:]' | \ cut -d " " -f 2 | sort | uniq | \ sed -E 's/.*(include)\/(.*)/#\1 "\2"/' >>$3 shift 3