This commit is contained in:
Gwenhael Le Moine 2023-04-27 09:17:19 +02:00
parent f2cc3d99d5
commit 6331b10bb9
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -141,8 +141,9 @@ CFLAGS="$SLKCFLAGS" \
--with-gpm=yes \
--with-pgtk \
--with-tree-sitter \
--with-native-compilation=aot \
--with-native-compilation \
--enable-link-time-optimization \
--with-json --with-xwidgets --with-xinput \
--with-compress-install \
--without-gconf \
--with-gameuser=":games" \
@ -189,7 +190,7 @@ fi
git clone https://github.com/casouri/tree-sitter-module
cd tree-sitter-module
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)/"
cd ..
# /tree-sitter grammars