summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlya Basin2018-03-28 14:35:41 +0300
committerIlya Basin2018-03-28 14:35:41 +0300
commit5efe97d12ffde72571b99f9cb40261c1c4e3ec9e (patch)
treea3665ffad0823030aa92e483bd036a2f53660193
parent5cac35560d8082d286b42683e3885644e27fc1d8 (diff)
downloadaur-5efe97d12ffde72571b99f9cb40261c1c4e3ec9e.tar.gz
cross ccache
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b61fc613b226..cfff04699206 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Tue Mar 27 14:31:14 UTC 2018
+# Wed Mar 28 11:35:41 UTC 2018
pkgbase = aarch64-linux-gnu-glib2
pkgdesc = Low level core library
pkgver = 2.56.0+7+g66948ae
diff --git a/PKGBUILD b/PKGBUILD
index 6def0c2aadc1..74b33c74957b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -52,8 +52,12 @@ build() {
check_option debug n && debug=yes
cd glib
+if [ n != "$RUN_PREPARE" ]; then
+ if [ 1 = "$ccache" ]; then
+ export CC=${CC:-ccache ${_target}-gcc}
+ export CXX=${CXX:-ccache ${_target}-g++}
+ fi
unset CFLAGS CXXFLAGS
-if true; then
glib_cv_stack_grows=no \
glib_cv_uscore=no \
glib_cv_compliant_posix_memalign=1 \