From e562455b5212d6d12d5a3679e4ab77070964ea55 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 2 Jun 2015 09:55:56 +0200 Subject: [PATCH] util-linux: apply x86 workaround with ccache. --- srcpkgs/util-linux/template | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/srcpkgs/util-linux/template b/srcpkgs/util-linux/template index b2b83468c8f..8b3d9f24f0c 100644 --- a/srcpkgs/util-linux/template +++ b/srcpkgs/util-linux/template @@ -39,7 +39,14 @@ do_configure() { --enable-write --localstatedir=/run } do_build() { - make ${makejobs} + 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