diff options
author | jlam <jlam@pkgsrc.org> | 2004-02-12 07:11:38 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-02-12 07:11:38 +0000 |
commit | 0ee5bb2fba2b22552725e2b45f3e566790360cf6 (patch) | |
tree | 9906cfbd0971279692272e5afde10d6a93cb4e03 /devel/ccache/patches/patch-aa | |
parent | 4a4498a10ca21e218b01c536fee8ea356df8898e (diff) | |
download | pkgsrc-0ee5bb2fba2b22552725e2b45f3e566790360cf6.tar.gz |
Update devel/ccache to 2.3nb1. Changes from version 2.3 include adding
a new environment variable CCACHE_HASHCC whose value may be used to
override the compiler-specific addition to the hash value used to
distinguish between two compiles. This is useful where the compiler is
a shell script generated on-the-fly that executes the real compiler.
This allows ccache to function correctly within the pkgsrc
infrastructure.
Diffstat (limited to 'devel/ccache/patches/patch-aa')
-rw-r--r-- | devel/ccache/patches/patch-aa | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/ccache/patches/patch-aa b/devel/ccache/patches/patch-aa new file mode 100644 index 00000000000..744729a1284 --- /dev/null +++ b/devel/ccache/patches/patch-aa @@ -0,0 +1,19 @@ +$NetBSD: patch-aa,v 1.3 2004/02/12 07:11:43 jlam Exp $ + +--- ccache.1.orig Sat Sep 27 21:48:17 2003 ++++ ccache.1 +@@ -208,6 +208,14 @@ to share your cache with other users\&. + file permissions set on the object files created from your + compilations\&. + .IP ++.IP "\fBCCACHE_HASHCC\fP" ++Normally, ccache adds the compiler size and modification time when ++calculating the hash that is used to distinguish two compiles\&. You ++can use CCACHE_HASHCC to override this default with a unique string\&. ++This is useful when the compiler is actually a shell script generated ++on-the-fly that executes the real compiler\&. A reasonable value for ++CCACHE_HASHCC for \&'gcc\&' is the output of \&'gcc -v\&'\&. ++.IP + .IP "\fBCCACHE_HASHDIR\fP" + This tells ccache to hash the current working + directory when calculating the hash that is used to distinguish two |