kitty: fix build on ppc*-musl
This commit is contained in:
parent
7febf540a9
commit
235f90af8a
1 changed files with 6 additions and 0 deletions
|
@ -18,6 +18,12 @@ patch_args="-Np1"
|
|||
pycompile_version="$py3_ver"
|
||||
LDFLAGS+=" -Wl,-z,stack-size=2097152"
|
||||
|
||||
# TIOCSWINSZ on ppc overflows signed int, used in ioctl()
|
||||
# glibc defines it with ulong, musl with int (should be harmless)
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
ppc*-musl) CFLAGS+=" -Wno-error=overflow";;
|
||||
esac
|
||||
|
||||
do_build() {
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
CFLAGS+=" -I${XBPS_CROSS_BASE}/${py3_inc}"
|
||||
|
|
Loading…
Reference in a new issue