Fix cmatrix

This commit is contained in:
Jeremy Soller 2020-01-26 19:18:08 -07:00
parent 673e8ec470
commit d03ce56586
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1

View File

@ -14,10 +14,15 @@ function recipe_update {
function recipe_build {
sysroot="$(realpath ../sysroot)"
export LDFLAGS="-L$sysroot/lib"
export LDFLAGS="-L$sysroot/lib -static"
export CPPFLAGS="-I$sysroot/include -I$sysroot/include/ncurses"
autoreconf -i
./configure --build=${BUILD} --host=${HOST} --prefix=/ --without-fonts
./configure \
--build=${BUILD} \
--host=${HOST} \
--prefix=/ \
--without-fonts
sed -i'' -e 's|#define USE_TIOCSTI 1|/* #undef USE_TIOCSTI */|g' config.h
make -j"$(nproc)"
skip=1
}