util-linux: apply x86 workaround with ccache.

This commit is contained in:
Juan RP 2015-06-02 09:55:56 +02:00
parent 236ba78177
commit e562455b52
1 changed files with 8 additions and 1 deletions

View File

@ -39,7 +39,14 @@ do_configure() {
--enable-write --localstatedir=/run
}
do_build() {
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
# XXX
export CCACHE_DISABLED=1
make ${makejobs}
unset CCACHE_DISABLED
else
make ${makejobs}
fi
}
do_install() {
make usrsbin_execdir=/usr/bin DESTDIR=${DESTDIR} install