[emacs]
This commit is contained in:
parent
f2cc3d99d5
commit
6331b10bb9
1 changed files with 3 additions and 2 deletions
|
@ -141,8 +141,9 @@ CFLAGS="$SLKCFLAGS" \
|
||||||
--with-gpm=yes \
|
--with-gpm=yes \
|
||||||
--with-pgtk \
|
--with-pgtk \
|
||||||
--with-tree-sitter \
|
--with-tree-sitter \
|
||||||
--with-native-compilation=aot \
|
--with-native-compilation \
|
||||||
--enable-link-time-optimization \
|
--enable-link-time-optimization \
|
||||||
|
--with-json --with-xwidgets --with-xinput \
|
||||||
--with-compress-install \
|
--with-compress-install \
|
||||||
--without-gconf \
|
--without-gconf \
|
||||||
--with-gameuser=":games" \
|
--with-gameuser=":games" \
|
||||||
|
@ -189,7 +190,7 @@ fi
|
||||||
git clone https://github.com/casouri/tree-sitter-module
|
git clone https://github.com/casouri/tree-sitter-module
|
||||||
cd tree-sitter-module
|
cd tree-sitter-module
|
||||||
sed -i 's|cc -c -I. parser.c|cc -fPIC -c -I. parser.c|' build.sh
|
sed -i 's|cc -c -I. parser.c|cc -fPIC -c -I. parser.c|' build.sh
|
||||||
bash ./batch.sh
|
JOBS=$NUMJOBS bash ./batch.sh
|
||||||
cp dist/*.so "$PKG/usr/lib$(uname -m | grep -o 64)/"
|
cp dist/*.so "$PKG/usr/lib$(uname -m | grep -o 64)/"
|
||||||
cd ..
|
cd ..
|
||||||
# /tree-sitter grammars
|
# /tree-sitter grammars
|
||||||
|
|
Loading…
Reference in a new issue