Fixed configuration of zsh
This commit is contained in:
parent
4bbf8d9566
commit
6eedd35707
@ -1,13 +1,23 @@
|
||||
# Maintainer: Alexander Hill
|
||||
SRC_HASH="9b8d1ecedd5b5e81fbf1918e876752a7dd948e05c1a0dba10ab863842d45acd5"
|
||||
SRC_NAME="zsh"
|
||||
SRC_REVISION=1
|
||||
SRC_URL="https://www.zsh.org/pub/zsh-5.9.tar.xz"
|
||||
SRC_VERSION="5.9"
|
||||
|
||||
build() {
|
||||
tar xf ../$SRC_FILENAME
|
||||
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
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user