guile: work around ppc builds crashing

[ci skip]
This commit is contained in:
q66 2019-11-30 21:35:01 +01:00 committed by Juan RP
parent 2555c0c091
commit 26508f9ecb

View file

@ -20,6 +20,13 @@ if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" guile"
fi
pre_configure() {
# magically fixes https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=941218
case "$XBPS_TARGET_MACHINE" in
ppc*) export CFLAGS+=" -Os";;
esac
}
libguile_package() {
short_desc+=" - runtime library"
pkg_install() {