Bash script to build LFS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
677 B

#!/usr/bin/env bash
sed -i '/strchr/s/const//' lib/crypt-{sm3,gost}-yescrypt.c
./configure --prefix=/usr \
--enable-hashes=strong,glibc \
--enable-obsolete-api=no \
--disable-static \
--disable-failure-tokens
make
make check
make install
# recompile for ABI version 1 functions
#
# make distclean
# ./configure --prefix=/usr \
# --enable-hashes=strong,glibc \
# --enable-obsolete-api=glibc \
# --disable-static \
# --disable-failure-tokens
# make
# cp -av --remove-destination .libs/libcrypt.so.1* /usr/lib