Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=2f09c69e575e64be1c78de3cdddc01c6d91801fb

commit 2f09c69e575e64be1c78de3cdddc01c6d91801fb
Author: James Buren <[email protected]>
Date:   Sat Mar 31 20:56:28 2012 -0500

add new FrugalBuild option "noccache"
now allowing bypass of ccache on package specific level

diff --git a/doc/FrugalBuild.txt b/doc/FrugalBuild.txt
index e214fe0..1e8817f 100644
--- a/doc/FrugalBuild.txt
+++ b/doc/FrugalBuild.txt
@@ -317,6 +317,8 @@ options (array)::

nostrip: Don't strip binaries/libraries.

+       noccache: Disable ccache usage during build.
+
force: This is used to force the package to be upgraded by --sysupgrade, even
if its an older version.

diff --git a/scripts/makepkg b/scripts/makepkg
index 11e5a3c..2b3c32d 100755
--- a/scripts/makepkg
+++ b/scripts/makepkg
@@ -1565,7 +1565,7 @@ if [ "$DISTCC" = "y" -a -d /usr/lib/distcc/bin ]; then
fi

# use ccache if it's available
-if [ "$NOCCACHE" = "0" -a -d /usr/lib/ccache/bin ]; then
+if [ "$NOCCACHE" = "0" -a -d /usr/lib/ccache/bin -a ! "`check_option 
NOCCACHE`" ]; then
if [ "$CHROOT" = "1" ]; then
CCACHE_REALDIR=/var/cache/ccache
else
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to