update script

This commit is contained in:
superconvert 2022-10-02 18:45:28 +08:00
parent 64e259b360
commit 62d7211be2

View File

@ -590,9 +590,7 @@ llvm_build() {
shift
if [ ! -f .${name} ]; then
echo "${CYAN}build ${name} begin${NC}" && cd ${srcdir} && mkdir -pv build && cd build
if [ -f CMakeLists.txt ]; then
cmake . -DCMAKE_INSTALL_PREFIX=/usr
fi
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
if [ -f ./configure ]; then
./configure ${cfg_opt} "$@" ${xwin_opt}
fi