guile: unbork ppc
This commit is contained in:
parent
335a5b37de
commit
720f2c1c52
1 changed files with 7 additions and 5 deletions
|
@ -15,16 +15,18 @@ distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
|||
checksum=44b4c5fbbe257ccdebea18420212c9b3e90c3c86a54920d8554039fc6769a007
|
||||
subpackages="libguile guile-devel"
|
||||
|
||||
if [ "$XBPS_ENDIAN" != "$XBPS_TARGET_ENDIAN" ]; then
|
||||
broken="opposite-endian host generates broken files"
|
||||
fi
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
# Need host guile to cross compile
|
||||
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
|
||||
post_extract() {
|
||||
# broken files causing crash
|
||||
rm -rf prebuilt/32-bit-big-endian
|
||||
}
|
||||
|
||||
libguile_package() {
|
||||
|
|
Loading…
Reference in a new issue