xerces-c: set DISABLE_CCACHE=yes for i686

Re-enable the shared CCACHE_DIR which was not the root
cause of the problems.
This commit is contained in:
Jürgen Buchmüller 2015-11-19 16:11:43 +01:00
parent 9bd521e9bd
commit 7e72db86c6
2 changed files with 6 additions and 2 deletions

View file

@ -1,7 +1,7 @@
# Template file for 'xerces-c'
pkgname=xerces-c
version=3.1.2
revision=2
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libcurl-devel icu55-devel"
@ -13,6 +13,10 @@ homepage="http://xerces.apache.org/xerces-c/"
distfiles="http://apache.mirror.digionline.de//xerces/c/3/sources/${pkgname}-${version}.tar.bz2"
checksum=95d8655c4c50668ad60d555b59da9f31937b2c53638aa8d5768cb169f192d5e1
case "$XBPS_TARGET_MACHINE" in
i686*) export CCACHE_DISABLE=yes
esac
libxerces-c_package() {
short_desc+=" - shared library"
pkg_install() {

View file

@ -591,7 +591,7 @@ else
export PATH="$MYPATH"
if [ -n "$XBPS_CCACHE" ]; then
CCACHEPATH="/usr/lib/ccache/bin"
export CCACHE_DIR="$XBPS_HOSTDIR/ccache-${XBPS_CROSS_BUILD:-${XBPS_MACHINE}}"
export CCACHE_DIR="$XBPS_HOSTDIR/ccache"
# Avoid not using cached files just due to compiler mtime
# changes when e.g. bootstrapping
export CCACHE_COMPILERCHECK=content