Fixed configuration of zsh

This commit is contained in:
Alexander Hill 2026-01-14 21:28:29 -05:00
parent 4bbf8d9566
commit 6eedd35707

View File

@ -1,13 +1,23 @@
# Maintainer: Alexander Hill # Maintainer: Alexander Hill
SRC_HASH="9b8d1ecedd5b5e81fbf1918e876752a7dd948e05c1a0dba10ab863842d45acd5" SRC_HASH="9b8d1ecedd5b5e81fbf1918e876752a7dd948e05c1a0dba10ab863842d45acd5"
SRC_NAME="zsh" SRC_NAME="zsh"
SRC_REVISION=1
SRC_URL="https://www.zsh.org/pub/zsh-5.9.tar.xz" SRC_URL="https://www.zsh.org/pub/zsh-5.9.tar.xz"
SRC_VERSION="5.9" SRC_VERSION="5.9"
build() { build() {
tar xf ../$SRC_FILENAME tar xf ../$SRC_FILENAME
cd zsh-$SRC_VERSION/ cd zsh-$SRC_VERSION/
./configure $TT_AUTOCONF_COMMON --enable-multibyte --enable-libc-musl # NOTE: Zsh uses a lot of tests made of main functions that are missing a
# return type. Because of this, clang throws an error, causing the
# test to fail. The result is a binary where command substitution
# locks the shell up. To fix this, we pass -Wno-implicit-int to the
# configure script. ~ahill
CFLAGS="$CFLAGS -Wno-implicit-int" \
./configure \
$TT_AUTOCONF_COMMON \
--enable-multibyte \
--enable-libc-musl
make -O -j $TT_PROCS make -O -j $TT_PROCS
} }